summaryrefslogtreecommitdiff
path: root/external/curl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-08-29 17:14:53 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-08-29 17:14:53 +0200
commit6bc81d4e78184cf57d6bc99f1f2dba6938b4fa85 (patch)
tree91040e9fbcee72bbf34f500a4f83d1edfc0e4a07 /external/curl
parent5990beed9aba690ea9487e2c4a64615b7504a0a1 (diff)
Simplify some $ENABLE_DEBUG expressions
Change-Id: I9f60fd317f3a2995a182d51d06059bd994cf837c
Diffstat (limited to 'external/curl')
-rw-r--r--external/curl/ExternalProject_curl.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/external/curl/ExternalProject_curl.mk b/external/curl/ExternalProject_curl.mk
index b012079bae85..e8e1345df102 100644
--- a/external/curl/ExternalProject_curl.mk
+++ b/external/curl/ExternalProject_curl.mk
@@ -51,7 +51,7 @@ $(call gb_ExternalProject_get_state_target,curl,build):
--disable-file --disable-ldap --disable-telnet --disable-dict --without-libssh2 \
$(if $(CROSS_COMPILING),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \
$(if $(filter TRUE,$(DISABLE_DYNLOADING)),--disable-shared,--disable-static) \
- $(if $(filter TRUE,$(ENABLE_DEBUG)),--enable-debug) \
+ $(if $(ENABLE_DEBUG),--enable-debug) \
$(if $(filter MACOSX,$(OS)),--prefix=/@.__________________________________________________OOO) \
&& cd lib \
&& $(MAKE) \
@@ -63,7 +63,7 @@ $(call gb_ExternalProject_get_state_target,curl,build):
$(call gb_ExternalProject_run,build,\
./configure --with-nss --without-ssl --enable-ftp --enable-ipv6 --disable-http --disable-gopher \
--disable-file --disable-ldap --disable-telnet --disable-dict --build=i586-pc-mingw32 --host=i586-pc-mingw32 \
- $(if $(filter TRUE,$(ENABLE_DEBUG)),--enable-debug) \
+ $(if $(ENABLE_DEBUG),--enable-debug) \
CC="$(CC) -mthreads $(if $(MINGW_SHARED_GCCLIB),-shared-libgcc)" \
LIBS="-lws2_32 -lwinmm $(if $(MINGW_SHARED_GXXLIB),$(MINGW_SHARED_LIBSTDCPP))" \
LDFLAGS="$(patsubst ;, -L,$(ILIB))" \