Browse Source

Move z80 specific -Sf options from rtl.cfg to system.cfg, as -Sf options are only accepted when compiliing system unit

git-svn-id: trunk@46691 -
pierre 5 years ago
parent
commit
836a932b9a
2 changed files with 7 additions and 10 deletions
  1. 0 9
      rtl/embedded/rtl.cfg
  2. 7 1
      rtl/embedded/system.cfg

+ 0 - 9
rtl/embedded/rtl.cfg

@@ -9,12 +9,3 @@
 -CX
 -XX
 #endif
-
-# does not require extra memory, neither code nor data
-# in programs not using e. g. writeln based I/O which is the common case
-#ifdef CPUZ80
--SfOBJECTS
--SfEXCEPTIONS
--SfCLASSES
--SfRTTI
-#endif

+ 7 - 1
rtl/embedded/system.cfg

@@ -265,6 +265,12 @@
 -SfRESOURCES
 #endif CPUXTENSA
 
+# does not require extra memory, neither code nor data
+# in programs not using e. g. writeln based I/O which is the common case
 #ifdef CPUZ80
+-SfOBJECTS
+-SfEXCEPTIONS
+-SfCLASSES
+-SfRTTI
 -SfSOFTFPU
-#endif CPUZ80
+#endif