diff --git a/bin/compiler/includes/functions.sh b/bin/compiler/includes/functions.sh index 1f30ba756..d8fe078b9 100644 --- a/bin/compiler/includes/functions.sh +++ b/bin/compiler/includes/functions.sh @@ -31,7 +31,7 @@ function configure() { cmake $SRCPATH -DCMAKE_INSTALL_PREFIX=$BINPATH -DCONF_DIR=$CONFDIR -DSERVERS=$CSERVERS \ -DSCRIPTS=$CSCRIPTS \ -DTOOLS=$CTOOLS -DUSE_SCRIPTPCH=$CSCRIPTPCH -DUSE_COREPCH=$CCOREPCH -DWITH_COREDEBUG=$CDEBUG -DCMAKE_BUILD_TYPE=$CTYPE -DWITH_WARNINGS=$CWARNINGS \ - -DCMAKE_C_COMPILER=$CCOMPILERC -DCMAKE_CXX_COMPILER=$CCOMPILERCXX + -DCMAKE_C_COMPILER=$CCOMPILERC -DCMAKE_CXX_COMPILER=$CCOMPILERCXX $CCUSTOMOPTIONS cd $CWD diff --git a/conf/config.sh.dist b/conf/config.sh.dist index 88b99d2fd..f14fe7887 100644 --- a/conf/config.sh.dist +++ b/conf/config.sh.dist @@ -42,6 +42,8 @@ CTOOLS=0 # use precompiled headers ( fatest compilation but not optimized if you change headers often ) CSCRIPTPCH=1 CCOREPCH=1 +# you can add your custom definitions here ( -D ) +CCUSTOMOPTIONS="" ############################################## #