- note to cleanup fprintf(2,...) -> bb_error_msg(...) and
[oweals/busybox.git] / Rules.mak
index cce41dcb9f54efd9fb048d1abc49428090dde91a..952a10752952983ffe43199dee809ec4301764c3 100644 (file)
--- a/Rules.mak
+++ b/Rules.mak
@@ -169,7 +169,7 @@ LD_START_GROUP:=$(shell echo "int bar(void){return 0;}" > conftest.c ; \
        $(AR) $(ARFLAGS) conftest.a conftest.o ; \
        $(CC) -Wl,--start-group conftest.a conftest_main.o -Wl,--end-group \
         -o conftest > /dev/null 2>&1 && echo "-Wl,--start-group" ; \
-       echo rm conftest_main.o conftest_main.c conftest.o conftest.c \
+       rm conftest_main.o conftest_main.c conftest.o conftest.c \
         conftest.a conftest > /dev/null 2>&1 ; )
 ifneq ($(findstring start-group,$(LD_START_GROUP)),)
 LD_END_GROUP:= -Wl,--end-group
@@ -308,9 +308,9 @@ ifeq ($(strip $(PREFIX)),)
     PREFIX:=`pwd`/_install
 endif
 
-#ifneq ($(strip $(CONFIG_GETOPT_LONG)),y)
-#    CFLAGS += -D__need_getopt
-#endif
+ifneq ($(strip $(CONFIG_GETOPT_LONG)),y)
+    CFLAGS += -D__need_getopt
+endif
 
 # Additional complications due to support for pristine source dir.
 # Include files in the build directory should take precedence over