summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2018-09-19 11:37:01 (GMT)
committerTony Theodore <tonyt@logyst.com>2018-09-19 11:46:54 (GMT)
commit29fc99a6cce5ac04d3f5e466882e4361b2518c68 (patch)
tree80d8b5caf06a9617b9f463fcecdc0b716010ee8c
parentcc087d8565386a2d43b5af6f16ded06c881fd956 (diff)
downloadmxe-29fc99a6cce5ac04d3f5e466882e4361b2518c68.zip
mxe-29fc99a6cce5ac04d3f5e466882e4361b2518c68.tar.gz
mxe-29fc99a6cce5ac04d3f5e466882e4361b2518c68.tar.bz2
Makefile: add PKG_CONFIGURE_OPTS variable for new-style rules
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3a7c765..e526af8 100644
--- a/Makefile
+++ b/Makefile
@@ -101,6 +101,10 @@ MXE_CONFIGURE_OPTS = \
--disable-static --enable-shared ) \
$(MXE_DISABLE_DOC_OPTS)
+PKG_CONFIGURE_OPTS = \
+ $(_$(PKG)_CONFIGURE_OPTS) \
+ $($(PKG)_CONFIGURE_OPTS)
+
# GCC threads and exceptions
MXE_GCC_THREADS = \
$(if $(findstring posix,$(or $(TARGET),$(1))),posix,win32)