diff options
| author | 2024-05-16 20:02:54 +0100 | |
|---|---|---|
| committer | 2024-05-16 20:36:33 +0100 | |
| commit | dac4b23df7f81864b53dec0debf284534b9274a9 (patch) | |
| tree | 12683589393db61e98facbcb4b545ebb5f2491c8 /make | |
| parent | Deallocate the old MySQL connection on connect if one exists. (diff) | |
Fix building on macOS.
It seems like Apple have killed the remaining bits of TR1. Thankfully,
all Apple systems we support now have a C++11 compiler so we can just
force that on macOS.
[skip alpine ci]
[skip irctest ci]
[skip ubuntu ci]
[skip windows ci]
Diffstat (limited to 'make')
| -rw-r--r-- | make/template/main.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/make/template/main.mk b/make/template/main.mk index 54e6598b2..b39832b53 100644 --- a/make/template/main.mk +++ b/make/template/main.mk @@ -101,6 +101,7 @@ ifeq ($(SYSTEM), solaris) LDLIBS += -lsocket -lnsl -lrt -lresolv endif ifeq ($(SYSTEM), darwin) + CXX += -std=c++11 LDLIBS += -ldl CORELDFLAGS = -dynamic -bind_at_load -L. PICLDFLAGS = -fPIC -shared -twolevel_namespace -undefined dynamic_lookup |
