mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 16:55:11 +01:00
Build examples with -Wall -Werror
This commit is contained in:
1 parent
33e99792eb
commit
b09748c485
3 files changed
+7
-7
No files matched your search
+2
-2
@@ -46,9 +46,9 @@ wuffs bench -skipgen -mimic -reps=1 -iterscale=1
|
||||
for f in example/*; do
|
||||
echo Building $f
|
||||
if [ "$f" = "example/library" ]; then
|
||||
gcc -static -I.. $f/*.c gen/lib/c/gcc-static/libwuffs.a -o $f/a.out
|
||||
gcc -Wall -Werror -static -I.. $f/*.c gen/lib/c/gcc-static/libwuffs.a -o $f/a.out
|
||||
elif [ -e $f/*.c ]; then
|
||||
gcc $f/*.c -o $f/a.out
|
||||
gcc -Wall -Werror $f/*.c -o $f/a.out
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
Reference in new issue
Block a user