mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
25 lines
557 B
Bash
Executable File
25 lines
557 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. other/analysis/gen-file.sh
|
|
|
|
echo "Running Clang compiler"
|
|
clang++ -o /dev/null amalgamation.cc \
|
|
$CPPFLAGS \
|
|
$LDFLAGS \
|
|
-std=c++11 \
|
|
-Werror \
|
|
-Weverything \
|
|
-Wno-c++98-compat-pedantic \
|
|
-Wno-c99-extensions \
|
|
-Wno-cast-align \
|
|
-Wno-conversion \
|
|
-Wno-covered-switch-default \
|
|
-Wno-documentation-deprecated-sync \
|
|
-Wno-missing-field-initializers \
|
|
-Wno-old-style-cast \
|
|
-Wno-padded \
|
|
-Wno-sign-compare \
|
|
-Wno-unreachable-code-return \
|
|
-Wno-unused-parameter \
|
|
-Wno-used-but-marked-unused \
|