mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
4d921409e2
conditionalize this on OSVER because the patch is safe everywhere. No bump because package doesn't change. Submitted by: antoine (1.9, 2.0 and 2.1 based on)
12 lines
374 B
Ruby
12 lines
374 B
Ruby
--- ext/dl/extconf.rb.orig 2014-02-24 15:49:13.436431209 +0000
|
|
+++ ext/dl/extconf.rb 2014-02-24 15:50:21.287476923 +0000
|
|
@@ -1,7 +1,7 @@
|
|
require 'mkmf'
|
|
|
|
if RbConfig::CONFIG['GCC'] == 'yes'
|
|
- (have_macro("__clang__") ? $LDFLAGS : $CFLAGS) << " -fno-defer-pop"
|
|
+ $CFLAGS << " -fno-defer-pop" unless have_macro("__clang__")
|
|
$CFLAGS << " -fno-omit-frame-pointer"
|
|
end
|
|
|