mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 13:50:38 -04:00
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
389 B
Ruby
12 lines
389 B
Ruby
--- ./ext/dl/extconf.rb.orig 2010-02-25 22:49:20.000000000 +0000
|
|
+++ ./ext/dl/extconf.rb 2014-02-18 22:06:44.000000000 +0000
|
|
@@ -1,7 +1,8 @@
|
|
require 'mkmf'
|
|
|
|
if RbConfig::CONFIG['GCC'] == 'yes'
|
|
- $CFLAGS << " -fno-defer-pop -fno-omit-frame-pointer"
|
|
+ $CFLAGS << " -fno-defer-pop" unless have_macro("__clang__")
|
|
+ $CFLAGS << " -fno-omit-frame-pointer"
|
|
end
|
|
|
|
$INSTALLFILES = [
|