mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +00:00
Only apply -std=c++11 to C++ flags
CPPFLAGS are applied to both .cpp and .c files, and that breaks clang build: error: invalid argument '-std=c++11' not allowed with 'C/ObjC'
This commit is contained in:
parent
c611131f5a
commit
a2de831122
@ -7,7 +7,7 @@ hyperrogue_SOURCES = hyper.cpp savepng.c
|
|||||||
|
|
||||||
# Some definitions used in graph.cpp
|
# Some definitions used in graph.cpp
|
||||||
hyperrogue_CPPFLAGS = -DFONTDESTDIR=\"$(pkgdatadir)/DejaVuSans-Bold.ttf\" -DMUSICDESTDIR=\"$(pkgdatadir)/hyperrogue-music.txt\" -DSOUNDDESTDIR=\"$(pkgdatadir)/sounds/\"
|
hyperrogue_CPPFLAGS = -DFONTDESTDIR=\"$(pkgdatadir)/DejaVuSans-Bold.ttf\" -DMUSICDESTDIR=\"$(pkgdatadir)/hyperrogue-music.txt\" -DSOUNDDESTDIR=\"$(pkgdatadir)/sounds/\"
|
||||||
hyperrogue_CPPFLAGS += -std=c++11
|
hyperrogue_CXXFLAGS = -std=c++11
|
||||||
|
|
||||||
# Musicdir
|
# Musicdir
|
||||||
musicdir=$(datadir)/hyperrogue/music
|
musicdir=$(datadir)/hyperrogue/music
|
||||||
|
Loading…
Reference in New Issue
Block a user