summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-04-09 10:19:07 +0000
committermidipix <writeonce@midipix.org>2021-04-10 20:54:40 +0000
commit476ee796a566938cfd11aaeef586f3c6ff16b6de (patch)
tree3386ee459025c0d09fb93b27a30753acb8b533b4
parent4f06b392ba2ab8a683d3cb69ab2354dd54de43a3 (diff)
downloadmdso-476ee796a566938cfd11aaeef586f3c6ff16b6de.tar.bz2
mdso-476ee796a566938cfd11aaeef586f3c6ff16b6de.tar.xz
build system: posix make support: remove ifeq statement for OS_DSO_EXRULES.
-rw-r--r--sofort/ccenv/ccenv.sh4
-rw-r--r--sofort/core/flavor.mk2
2 files changed, 2 insertions, 4 deletions
diff --git a/sofort/ccenv/ccenv.sh b/sofort/ccenv/ccenv.sh
index 5db4a04..0f94ddc 100644
--- a/sofort/ccenv/ccenv.sh
+++ b/sofort/ccenv/ccenv.sh
@@ -1369,7 +1369,7 @@ ccenv_common_init()
if [ $ccenv_cfgtype = 'host' ]; then
ccenv_tflags=
- ccenv_cflags=$(${mb_make} -s -f "$mb_pwd/Makefile.tmp" .cflags-host)
+ ccenv_cflags=$(${mb_make} -s -f "$mb_pwd/Makefile.tmp" OS_DSO_EXRULES=default .cflags-host)
ccenv_cc="$mb_user_cc"
ccenv_cpp="$mb_user_cpp"
@@ -1379,7 +1379,7 @@ ccenv_common_init()
ccenv_pe_image_base="$mb_pe_image_base"
else
ccenv_tflags=
- ccenv_cflags=$(${mb_make} -s -f "$mb_pwd/Makefile.tmp" .cflags-native)
+ ccenv_cflags=$(${mb_make} -s -f "$mb_pwd/Makefile.tmp" OS_DSO_EXRULES=default .cflags-native)
ccenv_cc="$mb_native_cc"
ccenv_cpp="$mb_native_cpp"
ccenv_cxx="$mb_native_cxx"
diff --git a/sofort/core/flavor.mk b/sofort/core/flavor.mk
index 85c41a2..45b16d7 100644
--- a/sofort/core/flavor.mk
+++ b/sofort/core/flavor.mk
@@ -1,9 +1,7 @@
# flavor.mk: top-level handling of build flavors.
# this file is covered by COPYING.SOFORT.
-ifneq ($(OS_DSO_EXRULES),)
include $(PROJECT_DIR)/sofort/exrules/$(OS_DSO_EXRULES).mk
-endif
ifeq ($(DISABLE_STATIC),yes)
package-static: