Lines 26-33
Link Here
|
26 |
# Certain new compiler features unlock parts of jsoncpp API (ex. see JSON_HAS_RVALUE_REFERENCES). |
26 |
# Certain new compiler features unlock parts of jsoncpp API (ex. see JSON_HAS_RVALUE_REFERENCES). |
27 |
# Use c++11 above to be the most inclusive. |
27 |
# Use c++11 above to be the most inclusive. |
28 |
USES+= compiler:c++11-lang |
28 |
USES+= compiler:c++11-lang |
|
|
29 |
# lang/gcc5 fix |
30 |
.if ${COMPILER_TYPE} == clang |
29 |
CXXFLAGS+= --std=c++11 |
31 |
CXXFLAGS+= --std=c++11 |
|
|
32 |
.else |
33 |
CXXFLAGS+= --std=gnu++11 -D_GLIBCXX_USE_C99=1 |
30 |
.endif |
34 |
.endif |
|
|
35 |
.endif |
31 |
|
36 |
|
32 |
do-install: |
37 |
do-install: |
33 |
@${MKDIR} ${STAGEDIR}${PREFIX}/include/jsoncpp |
38 |
@${MKDIR} ${STAGEDIR}${PREFIX}/include/jsoncpp |