summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2013-01-20 20:12:11 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-01-20 20:17:49 (GMT)
commitd9cbc45b92d760c1c7651ae48bf8d29e55533e32 (patch)
tree46271deea805f442f9dc489420134a113f7fc101
parent4d93ca15bce45484305136fd4cd46d52b398b8b8 (diff)
downloadbuildroot-d9cbc45b92d760c1c7651ae48bf8d29e55533e32.tar.gz
buildroot-d9cbc45b92d760c1c7651ae48bf8d29e55533e32.tar.bz2
httping: don't override optimization level, correctly disable debug support
The httping makefile by default appends -O3 to CFLAGS, overriding the optimization flags set in Buildroot, so pass OFLAGS= to disable this. The DEBUG=no argument has to be passed on the make cmdline and not in the environment to take effect, as it is unconditionally set in the Makefile. Notice that it shouldn't be passed to 'make install', as that otherwise will try to run the host strip program. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/httping/httping.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/package/httping/httping.mk b/package/httping/httping.mk
index 45478cf..e92be61 100644
--- a/package/httping/httping.mk
+++ b/package/httping/httping.mk
@@ -12,11 +12,10 @@ HTTPING_LICENSE_FILES = license.txt
HTTPING_DEPENDENCIES = $(if $(BR2_PACKAGE_OPENSSL),openssl)
HTTPING_MAKE_OPT = $(TARGET_CONFIGURE_OPTS) \
SSL=$(if $(BR2_PACKAGE_OPENSSL),yes,no) \
- TFO=$(if $(BR2_PACKAGE_HTTPING_TFO),yes,no) \
- DEBUG=no
+ TFO=$(if $(BR2_PACKAGE_HTTPING_TFO),yes,no)
define HTTPING_BUILD_CMDS
- $(HTTPING_MAKE_OPT) $(MAKE) -C $(@D)
+ $(HTTPING_MAKE_OPT) $(MAKE) OFLAGS= DEBUG=no -C $(@D)
endef
define HTTPING_INSTALL_TARGET_CMDS