|
@@ -79,8 +79,9 @@ HOST_GCC_FINAL_CONF_OPTS += --disable-symvers
|
|
endif
|
|
endif
|
|
|
|
|
|
# Disable shared libs like libstdc++ if we do static since it confuses linking
|
|
# Disable shared libs like libstdc++ if we do static since it confuses linking
|
|
|
|
+# In that case also disable libcilkrts as there is no static version
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
-HOST_GCC_FINAL_CONF_OPTS += --disable-shared
|
|
|
|
|
|
+HOST_GCC_FINAL_CONF_OPTS += --disable-shared --disable-libcilkrts
|
|
else
|
|
else
|
|
HOST_GCC_FINAL_CONF_OPTS += --enable-shared
|
|
HOST_GCC_FINAL_CONF_OPTS += --enable-shared
|
|
endif
|
|
endif
|