Commit f946a9a4 authored by Alexander Strange's avatar Alexander Strange
Browse files

Use check_cflags for -mdynamic-no-pic so third-party compilers will work on Darwin.

Originally committed as revision 13007 to svn://
parent 1f944923
......@@ -1358,7 +1358,7 @@ if test $target_os = darwin; then
add_cflags "-pipe"
check_cflags "-force_cpusubtype_ALL"
check_cflags "-Wno-sign-compare"
enabled shared || add_cflags -mdynamic-no-pic
enabled shared || check_cflags -mdynamic-no-pic
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment