]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/config/sparc/vxworks.h
Add --enable-default-pie option to GCC configure
[thirdparty/gcc.git] / gcc / config / sparc / vxworks.h
index c66dba8f5a410e68716ba4826d8f8bbdb2d5c7cf..e356b25d429000d2b9ad6234f762c6b5b1260e7b 100644 (file)
@@ -34,7 +34,7 @@ along with GCC; see the file COPYING3.  If not see
 #define CPP_SUBTARGET_SPEC VXWORKS_ADDITIONAL_CPP_SPEC
 
 #undef ASM_SPEC
-#define ASM_SPEC "%{fpic|fPIC|fpie|fPIE:-K PIC} %(asm_cpu)"
+#define ASM_SPEC "%{" FPIE_OR_FPIC_SPEC ":-K PIC} %(asm_cpu)"
 
 #undef LIB_SPEC
 #define LIB_SPEC VXWORKS_LIB_SPEC