configure: use c++98 for c++ files
Use c++98 standard instead of c++11.
Signed-off-by: Rick Kern <kernrj@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 729d82abae
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:

committed by
Michael Niedermayer

parent
cf09348b9e
commit
18ce5a4d1b
2
configure
vendored
2
configure
vendored
@@ -4529,7 +4529,7 @@ fi
|
|||||||
|
|
||||||
add_cppflags -D_ISOC99_SOURCE
|
add_cppflags -D_ISOC99_SOURCE
|
||||||
add_cxxflags -D__STDC_CONSTANT_MACROS
|
add_cxxflags -D__STDC_CONSTANT_MACROS
|
||||||
add_cxxflags -std=c++11
|
add_cxxflags -std=c++98
|
||||||
check_cflags -std=c99
|
check_cflags -std=c99
|
||||||
check_cc -D_FILE_OFFSET_BITS=64 <<EOF && add_cppflags -D_FILE_OFFSET_BITS=64
|
check_cc -D_FILE_OFFSET_BITS=64 <<EOF && add_cppflags -D_FILE_OFFSET_BITS=64
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
Reference in New Issue
Block a user