Modules/headers: minor improvements
· pass default compiler flags when compiling a module · compile and set variables for headers by default
This commit is contained in:
parent
a094821ec3
commit
2f748ff59b
|
@ -0,0 +1,2 @@
|
|||
source src/@NAME@/build.monolithic
|
||||
@CNAME@_HEADER="obj/@HEADER_NAME@"
|
|
@ -5,7 +5,7 @@
|
|||
if [ -z ${@CNAME@_BUILT} ]
|
||||
then
|
||||
@CNAME@="obj/@NAME@.so"
|
||||
SO_EXTRA="" # @TODO@
|
||||
SO_EXTRA="-D_GNU_SOURCE -std=gnu99 -DMODULE_NAME=\"@NAME@\"" # @TODO@
|
||||
|
||||
echo "Building module ${@CNAME@}..."
|
||||
|
||||
|
|
Loading…
Reference in New Issue