setlogcons, from Jan Kaszka.
[oweals/busybox.git] / Rules.mak
index c1406592e45b74ff5905bbc32676d29f04a8fe25..a70ef8cc5e8b47188dc8cd4256fbf3fc9aeb63c8 100644 (file)
--- a/Rules.mak
+++ b/Rules.mak
@@ -196,11 +196,7 @@ else
     LDFLAGS += $(call check_ld,--warn-common,)
     LDFLAGS += $(call check_ld,--sort-common,)
 endif
-ifeq ($(CONFIG_STRIP_BINARIES),y)
-    STRIPCMD:=$(STRIP) -s --remove-section=.note --remove-section=.comment
-else
-    STRIPCMD:=/bin/true -Not_stripping_since_we_are_debugging
-endif
+STRIPCMD:=$(STRIP) -s --remove-section=.note --remove-section=.comment
 ifeq ($(strip $(CONFIG_STATIC)),y)
     PROG_CFLAGS += $(call check_gcc,-static,)
 endif
@@ -214,7 +210,11 @@ endif
 
 
 ifeq ($(strip $(CONFIG_SELINUX)),y)
-    LIBRARIES += -lselinux
+    SELINUX_INC ?= /usr/include
+    SELINUX_LIB ?= /usr/lib
+    CFLAGS      := -I$(SELINUX_INC) $(CFLAGS)
+    LDFLAGS     := -L$(SELINUX_LIB) $(LDFLAGS)
+    LIBRARIES   += -lselinux
 endif
 
 ifeq ($(strip $(PREFIX)),)