diff options
author | Jose <jose@zeroc.com> | 2016-06-21 09:26:21 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2016-06-21 09:26:21 +0200 |
commit | a01f0cb5f9772c1a899b989f7c1c95ef49deffe6 (patch) | |
tree | 28b6927e1959eac149ff27e04a6ebb7a79c3588a /php | |
parent | Fix to support Debian x32 arch (diff) | |
download | ice-a01f0cb5f9772c1a899b989f7c1c95ef49deffe6.tar.bz2 ice-a01f0cb5f9772c1a899b989f7c1c95ef49deffe6.tar.xz ice-a01f0cb5f9772c1a899b989f7c1c95ef49deffe6.zip |
OS X PHP fails to build fix
Diffstat (limited to 'php')
-rw-r--r-- | php/config/Make.rules.Darwin | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/php/config/Make.rules.Darwin b/php/config/Make.rules.Darwin index d2c143a00b5..abafb15363e 100644 --- a/php/config/Make.rules.Darwin +++ b/php/config/Make.rules.Darwin @@ -10,9 +10,14 @@ # # This file is included by Make.rules when uname is Darwin. # - include $(top_srcdir)/../cpp/config/Make.rules.$(UNAME) +# +# Override CPPFLAGS set in cpp/config/Make.rules.Darwin, PHP5 extension build +# doesn't work well with --std=c++11 or -fvisibility=hidden +# +CPPFLAGS = -pthread + LDPLATFORMFLAGS += ${wl}-flat_namespace ${wl}-undefined ${wl}suppress $(LDEXEFLAGS) ifneq ($(STATICLIBS),yes) |