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: