OSDN Git Service

Revert some debug code accidentally checked in at commit 715.
authorRob Landley <rob@landley.net>
Sun, 13 Jan 2013 19:48:25 +0000 (13:48 -0600)
committerRob Landley <rob@landley.net>
Sun, 13 Jan 2013 19:48:25 +0000 (13:48 -0600)
configure

index 4aafb66..bf2561b 100644 (file)
--- a/configure
+++ b/configure
@@ -4,11 +4,11 @@
 
 # A synonym.
 [ -z "$CROSS_COMPILE" ] && CROSS_COMPILE="$CROSS"
-[ -z "$CFLAGS" ] && CFLAGS="-g -Wall -Wundef -Wno-char-subscripts"
+[ -z "$CFLAGS" ] && CFLAGS="-Wall -Wundef -Wno-char-subscripts"
 # Required for our expected ABI. we're 8-bit clean thus "char" must be unsigned.
 CFLAGS="$CFLAGS -funsigned-char"
 
-[ -z "$OPTIMIZE" ] && OPTIMIZE="-O0 -ffunction-sections -fdata-sections -Wl,--gc-sections"
+[ -z "$OPTIMIZE" ] && OPTIMIZE="-Os -ffunction-sections -fdata-sections -Wl,--gc-sections"
 [ -z "$CC" ] && CC=cc
 [ -z "$STRIP" ] && STRIP=strip