MAJOR_VERSION :=1
MINOR_VERSION :=1
SUBLEVEL_VERSION:=1
-EXTRAVERSION :=-pre0
+EXTRAVERSION :=
VERSION :=$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL_VERSION)$(EXTRAVERSION)
BUILDTIME := $(shell TZ=UTC date -u "+%Y.%m.%d-%H:%M%z")
CFLAGS_COMBINE:=$(call check_gcc,--combine,)
endif
OPTIMIZATION+=$(call check_gcc,-funit-at-a-time,)
-PROG_CFLAGS+=$(call check_gcc,-fwhole-program,)
+# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25795
+#PROG_CFLAGS+=$(call check_gcc,-fwhole-program,)
endif # CONFIG_BUILD_AT_ONCE
LIB_LDFLAGS:=$(call check_ld,--enable-new-dtags,)
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
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)),)