Created
March 23, 2012 13:39
-
-
Save gerdr/2170678 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/config/init/hints/darwin.pm b/config/init/hints/darwin.pm | |
index 0c1c74d..2085be6 100644 | |
--- a/config/init/hints/darwin.pm | |
+++ b/config/init/hints/darwin.pm | |
@@ -212,7 +212,7 @@ sub _probe_for_fink { | |
my %addl_flags = ( | |
linkflags => "-L$fink_lib_dir", | |
ldflags => "-L$fink_lib_dir", | |
- ccflags => "-I$fink_include_dir", | |
+ ccflags => "-isystem $fink_include_dir", | |
); | |
return \%addl_flags; | |
} | |
@@ -235,7 +235,7 @@ sub _probe_for_macports { | |
my %addl_flags = ( | |
linkflags => "-L$ports_lib_dir", | |
ldflags => "-L$ports_lib_dir", | |
- ccflags => "-I$ports_include_dir", | |
+ ccflags => "-isystem $ports_include_dir", | |
); | |
return \%addl_flags; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment