diff options
Diffstat (limited to 'dev-util/codelite/files/codelite-5.0.6213_configure.patch')
-rw-r--r-- | dev-util/codelite/files/codelite-5.0.6213_configure.patch | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-util/codelite/files/codelite-5.0.6213_configure.patch b/dev-util/codelite/files/codelite-5.0.6213_configure.patch new file mode 100644 index 0000000..efcbba0 --- /dev/null +++ b/dev-util/codelite/files/codelite-5.0.6213_configure.patch @@ -0,0 +1,47 @@ +--- a/configure ++++ b/configure +@@ -149,7 +149,7 @@ createVariables() + configuration="Release_gcc_unicode" + ext=u + debug_flag="" +- optimization=" -O3 -DREGEXP_UNICODE " ++ optimization=" -DREGEXP_UNICODE ${CFLAGS} " + # In release builds, unless otherwise instructed, tell wx to disable asserts + asserts="-DNDEBUG" + if [ "$asserts_specified" = "on" ]; then +@@ -353,7 +353,7 @@ createCodeLiteCppcheckMakefile () + else + configuration="Release" + debug_flag="" +- optimization=" -O2 " ++ optimization="${CFLAGS}" + # In release builds, unless otherwise instructed, tell wx to disable asserts + asserts="-DNDEBUG" + if [ "$asserts_specified" = "on" ]; then +@@ -448,7 +448,7 @@ createCodeLiteClangMakefile() + else + configuration="Release" + debug_flag="" +- optimization=" -O2 " ++ optimization="${CFLAGS}" + # In release builds, unless otherwise instructed, tell wx to disable asserts + asserts="-DNDEBUG" + if [ "$asserts_specified" = "on" ]; then +@@ -559,7 +559,7 @@ createCodeLiteGCCMakefile () + else + configuration="Release" + debug_flag="" +- optimization=" -O2 " ++ optimization="${CFLAGS}" + # In release builds, unless otherwise instructed, tell wx to disable asserts + asserts="-DNDEBUG" + if [ "$asserts_specified" = "on" ]; then +@@ -672,7 +672,7 @@ createCodeLiteIndexerMakefile () + else + configuration="Release" + debug_flag="" +- optimization=" -O2 " ++ optimization="${CFLAGS}" + # In release builds, unless otherwise instructed, tell wx to disable asserts + asserts="-DNDEBUG" + if [ "$asserts_specified" = "on" ]; then |