SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View 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