build: don't add -fno-plt for ARC
[openwrt/staging/chunkeey.git] / config / Config-devel.in
index 5970ac238d318f1d8a1c60afcb25f650d6870af9..938f0b3c9cd9cebe79c35b1ca818c95d4b693d2d 100644 (file)
@@ -106,7 +106,7 @@ menuconfig DEVEL
 
        config EXTRA_OPTIMIZATION
                string "Additional compiler options" if DEVEL
-               default "-fno-caller-saves -fno-plt" if !CONFIG_EXTERNAL_TOOLCHAIN
+               default "-fno-caller-saves -fno-plt" if !CONFIG_EXTERNAL_TOOLCHAIN && !arc
                default "-fno-caller-saves"
                help
                  Extra target-independent optimizations to use when building for the target.