Mac OS X: Added the -Wunused gcc flag
This commit is contained in:
parent
52175b6d32
commit
e1067d49d6
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
<target name="compile">
|
<target name="compile">
|
||||||
<apply dir="${dstdir}" executable="${compiler}" os="Mac OS X" skipemptyfilesets="true" failonerror="true" dest="${dstdir}">
|
<apply dir="${dstdir}" executable="${compiler}" os="Mac OS X" skipemptyfilesets="true" failonerror="true" dest="${dstdir}">
|
||||||
<arg line="${cflags} -ObjC -O2 -Wall -c -fPIC -I${sdkroot}/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers -I${native}/common -I${native}/macosx"/>
|
<arg line="${cflags} -ObjC -O2 -Wall -Wunused -c -fPIC -I${sdkroot}/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers -I${native}/common -I${native}/macosx"/>
|
||||||
<!-- Map from *.m and *.c to .o -->
|
<!-- Map from *.m and *.c to .o -->
|
||||||
<mapper type="regexp" from="^(.*)\.(c|m)" to="\1.o"/>
|
<mapper type="regexp" from="^(.*)\.(c|m)" to="\1.o"/>
|
||||||
<fileset dir="${native}/macosx" includes="*.m"/>
|
<fileset dir="${native}/macosx" includes="*.m"/>
|
||||||
|
|
Loading…
Reference in New Issue