From: Peter Korsgaard Date: Sun, 20 Jan 2013 20:12:11 +0000 (+0100) Subject: httping: don't override optimization level, correctly disable debug support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d9cbc45b92d760c1c7651ae48bf8d29e55533e32;p=buildroot.git 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 --- diff --git a/package/httping/httping.mk b/package/httping/httping.mk index 45478cfdc3..e92be619af 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