Explorar o código

Optimize for size, and disable expensive inlining

Eric Andersen %!s(int64=24) %!d(string=hai) anos
pai
achega
587f0d8de6
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      include/features.h

+ 4 - 0
include/features.h

@@ -19,6 +19,10 @@
 #ifndef	_FEATURES_H
 #ifndef	_FEATURES_H
 #define	_FEATURES_H	1
 #define	_FEATURES_H	1
 
 
+/* For uClibc, always optimize for size -- this should disable
+ * a lot of expensive inlining... */
+#define __OPTIMIZE_SIZE__   1
+
 /* These are defined by the user (or the compiler)
 /* These are defined by the user (or the compiler)
    to specify the desired environment:
    to specify the desired environment: