You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
gsl: drop a breaking ldflag
This commit is contained in:
committed by
Renee Otten
parent
5eb4cc5b76
commit
90be777d2c
@@ -44,6 +44,11 @@ configure.checks.implicit_function_declaration.whitelist-append \
|
||||
finite \
|
||||
strchr
|
||||
|
||||
# Version 2.8 added -Wl,-no_fixup_chains flag,
|
||||
# which is not universally supported. Drop it.
|
||||
# Related: https://github.com/haskell/zlib/issues/53
|
||||
patchfiles-append patch-fix-linking.diff
|
||||
|
||||
test.run yes
|
||||
test.target check
|
||||
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
The linker may not understand this flag:
|
||||
ld: unknown option: -no_fixup_chains
|
||||
collect2: error: ld returned 1 exit status
|
||||
|
||||
--- configure 2024-05-25 21:26:49.000000000 +0800
|
||||
+++ configure 2024-05-30 14:02:19.000000000 +0800
|
||||
@@ -8761,10 +8761,11 @@
|
||||
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
|
||||
darwin*)
|
||||
case $MACOSX_DEPLOYMENT_TARGET,$host in
|
||||
+ # This is correct, later PowerPC uses -undefined dynamic_lookup
|
||||
10.[012],*|,*powerpc*-darwin[5-8]*)
|
||||
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
|
||||
*)
|
||||
- _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup $wl-no_fixup_chains' ;;
|
||||
+ _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user