summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2011-03-25 21:55:34 (GMT)
committerMark Brand <mabrand@mabrand.nl>2011-03-25 21:55:34 (GMT)
commit2dd76102cd715073dacd1e3e5f03c753a893d9e0 (patch)
tree4388c03962efd5b9d3666becfe00581f6b8c0b11 /src
parentee40e8351a154a87ef92a0b0002fe90af163d949 (diff)
downloadmxe-2dd76102cd715073dacd1e3e5f03c753a893d9e0.zip
mxe-2dd76102cd715073dacd1e3e5f03c753a893d9e0.tar.gz
mxe-2dd76102cd715073dacd1e3e5f03c753a893d9e0.tar.bz2
package sdl: allow unsed vars in test program
Diffstat (limited to 'src')
-rw-r--r--src/sdl.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sdl.mk b/src/sdl.mk
index bf6fede..2d746b9 100644
--- a/src/sdl.mk
+++ b/src/sdl.mk
@@ -33,7 +33,7 @@ define $(PKG)_BUILD
ln -sf $(PREFIX)/$(TARGET)/bin/sdl-config $(PREFIX)/bin/$(TARGET)-sdl-config
'$(TARGET)-gcc' \
- -W -Wall -Werror -ansi -pedantic \
+ -W -Wall -Werror -ansi -pedantic -Wno-unused-but-set-variable \
'$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-sdl.exe' \
`'$(TARGET)-pkg-config' sdl --cflags --libs`
endef