diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-05-31 21:42:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-05-31 21:46:40 +0300 |
commit | bdbab22de6556e904343d5d4bb21c20595f57b0b (patch) | |
tree | c3bca4cd18b12c8911e999389fd36979369de9c1 /src/Makefile.am | |
parent | 27004e91dc0f1a38886008d419b85e5fdbab369c (diff) | |
download | plus-bdbab22de6556e904343d5d4bb21c20595f57b0b.tar.gz plus-bdbab22de6556e904343d5d4bb21c20595f57b0b.tar.bz2 plus-bdbab22de6556e904343d5d4bb21c20595f57b0b.tar.xz plus-bdbab22de6556e904343d5d4bb21c20595f57b0b.zip |
Fix compilation warnings with new mesa and SDL 1.2
Add workaround to fix SDL redefine bug.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index d2279b33c..a1934ac22 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -90,6 +90,11 @@ manaplus_CXXFLAGS += -DHAVE_EXECINFO dyecmd_CXXFLAGS += -DHAVE_EXECINFO endif +if HAVE_GLEXT +manaplus_CXXFLAGS += -DHAVE_GLEXT +dyecmd_CXXFLAGS += -DHAVE_GLEXT +endif + if ENABLE_PUGIXML manaplus_CXXFLAGS += -DENABLE_PUGIXML dyecmd_CXXFLAGS += -DENABLE_PUGIXML |