#REFACTORING by cg
authorClaus Gittinger <cg@exept.de>
Thu, 13 Oct 2016 11:40:16 +0200
changeset 4022 8028c505dea1
parent 4021 28085e55bd26
child 4023 03113f2bc542
#REFACTORING by cg class: ParserFlags changed: #initializeSTCFlagsForTopDirectory: #usedCompilerDefine ask STCCompilerInterface for compilation flags; not the OS
ParserFlags.st
--- a/ParserFlags.st	Thu Oct 13 10:57:10 2016 +0200
+++ b/ParserFlags.st	Thu Oct 13 11:40:16 2016 +0200
@@ -619,7 +619,7 @@
     |dfn|
 
     dfn := ForcedCompiler.
-    dfn isNil ifTrue:[ dfn := OperatingSystem getCCDefine].
+    dfn isNil ifTrue:[ dfn := STCCompilerInterface getCCDefine].
     ^ dfn
 
     "
@@ -1862,9 +1862,9 @@
             archArg := ' -m64'.            "gcc -m64 needs -fPIC to make a shared library"
             picArg := ' -fPIC'.
         ].
-        CCCompilationOptions := OperatingSystem getCPUDefine,
+        CCCompilationOptions := STCCompilerInterface getCPUDefine,
                                 ' -D', self usedCompilerDefine,
-                                ' ', OperatingSystem getOSDefine,
+                                ' ', STCCompilerInterface getOSDefine,
                                 ' ', '-O', archArg, picArg.
         ParserFlags useClang ifTrue:[
             CCPath := 'clang'