SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
31
devel/arm-none-eabi/gcc/patches/patch-gcc_configure
Normal file
31
devel/arm-none-eabi/gcc/patches/patch-gcc_configure
Normal file
|
@ -0,0 +1,31 @@
|
|||
Index: gcc/configure
|
||||
--- gcc/configure.orig
|
||||
+++ gcc/configure
|
||||
@@ -32456,14 +32456,14 @@ if test "$gcc_cv_c_no_fpie" = "yes"; then
|
||||
fi
|
||||
|
||||
|
||||
-# Check if -no-pie works.
|
||||
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -no-pie option" >&5
|
||||
-$as_echo_n "checking for -no-pie option... " >&6; }
|
||||
+# Check if -nopie works.
|
||||
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -nopie option" >&5
|
||||
+$as_echo_n "checking for -nopie option... " >&6; }
|
||||
if ${gcc_cv_no_pie+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
saved_LDFLAGS="$LDFLAGS"
|
||||
- LDFLAGS="$LDFLAGS -no-pie"
|
||||
+ LDFLAGS="$LDFLAGS -nopie"
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
int main(void) {return 0;}
|
||||
@@ -32480,7 +32480,7 @@ fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_no_pie" >&5
|
||||
$as_echo "$gcc_cv_no_pie" >&6; }
|
||||
if test "$gcc_cv_no_pie" = "yes"; then
|
||||
- NO_PIE_FLAG="-no-pie"
|
||||
+ NO_PIE_FLAG="-nopie"
|
||||
fi
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue