summaryrefslogtreecommitdiff
path: root/kconfig
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-01-09 01:06:30 (GMT)
committerAlexey Neyman <stilor@att.net>2018-04-07 19:02:33 (GMT)
commit576dcc3fee5b949cbf439fd95ab642dfcfe51a74 (patch)
treef34ccdaf79a0f4a86ddc6f1e9e459fa6626f172e /kconfig
parentd401afbddaae56093cce388e62f7ba4d9d68a327 (diff)
Remove special handling of dpkg-buildflags
Instead, just honor CFLAGS/CPPFLAGS/LDFLAGS as they're passed down from configure. This brings the build process in compliance with the recommended practices. Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'kconfig')
-rw-r--r--kconfig/Makefile.in13
1 files changed, 1 insertions, 12 deletions
diff --git a/kconfig/Makefile.in b/kconfig/Makefile.in
index 26a4404..71157d6 100644
--- a/kconfig/Makefile.in
+++ b/kconfig/Makefile.in
@@ -5,15 +5,10 @@
install = @INSTALL@
sed = @SED@
gperf = @GPERF@
-gperf_len_type = @GPERF_LEN_TYPE@
-gettext = @gettext@
-curses_hdr = @ac_ct_curses_hdr@
CC = @CC@
-CFLAGS = @CFLAGS@
-LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
-INTL_LIBS = @INTL_LIBS@
+V=1
__silent = $(if $(V),,@printf ' %-7s %s\n' '$1' '$(if $2,$2,$(strip $<))' && )
__silent_rm = $(call __silent,RM,$1)rm -f $1
@@ -27,12 +22,6 @@ CFLAGS = --include @top_builddir@/config.h -DCONFIG_=\"CT_\" \
@CFLAGS@ @CPPFLAGS@
LDFLAGS = @LDFLAGS@ @LIBINTL@
-ifneq (@DPKG_BUILDFLAGS@,)
-CFLAGS += $(shell @DPKG_BUILDFLAGS@ --get CPPFLAGS) \
- $(shell @DPKG_BUILDFLAGS@ --get CFLAGS)
-LDFLAGS += $(shell @DPKG_BUILDFLAGS@ --get LDFLAGS)
-endif
-
# Compiler flags to use gettext
ifneq (@USE_NLS@,yes)
CFLAGS += -Wno-format-security -DKBUILD_NO_NLS