Browse Source

Tempoporary force .pic suffix for PIC && TOOL_BUILD_MODE

spreis 1 year ago
parent
commit
652423f510
1 changed files with 6 additions and 1 deletions
  1. 6 1
      build/conf/compilers/gnu_compiler.conf

+ 6 - 1
build/conf/compilers/gnu_compiler.conf

@@ -28,7 +28,12 @@ when ($OS_LINUX == "yes") {
 
 _CROSS_SUFFIX=.pic
 when ($FORCE_NO_PIC == "yes") {
-    _CROSS_SUFFIX=
+    when ($TOOL_BUILD_MODE == "yes" && $PIC == "yes") {
+        # FIXME(spreis): This is temporary fix until more appropriate control over pic-like-in-tools mode will come
+    }
+    otherwise {
+        _CROSS_SUFFIX=
+    }
 }
 
 C_COMPILER=${quo:C_COMPILER_UNQUOTED}