build: added debug option.
This commit is contained in:
10
0BUILD
10
0BUILD
@@ -51,6 +51,16 @@
|
|||||||
<setVar name="pkgdatadir">$(datadir)/$(package)</setVar>
|
<setVar name="pkgdatadir">$(datadir)/$(package)</setVar>
|
||||||
|
|
||||||
|
|
||||||
|
<option id="debug" type="string">
|
||||||
|
<default>TRUE</default>
|
||||||
|
<choices>TRUE FALSE</choices>
|
||||||
|
</option>
|
||||||
|
<ifVarMatches name="option_debug" value="TRUE" >
|
||||||
|
<setVar name="CFLAGS">-ggdb -Wall -O0</setVar>
|
||||||
|
<setVar name="CXXFLAGS">-ggdb -Wall -O0</setVar>
|
||||||
|
</ifVarMatches>
|
||||||
|
|
||||||
|
|
||||||
<checkheaders>
|
<checkheaders>
|
||||||
signal.h
|
signal.h
|
||||||
sys/stat.h
|
sys/stat.h
|
||||||
|
|||||||
Reference in New Issue
Block a user