mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-22 01:34:21 +00:00
Android: Fixed an issue where optimisation flags would be ignored by Android Studio/gradle
This commit is contained in:
parent
0d601faae5
commit
62101b554c
1 changed files with 5 additions and 3 deletions
|
|
@ -584,9 +584,11 @@ private:
|
|||
if (getProject().getProjectType().isStaticLibrary())
|
||||
mo << " targets \"" << getNativeModuleBinaryName (cfg) << "\"" << newLine;
|
||||
|
||||
mo << " arguments \"-DJUCE_BUILD_CONFIGFURATION=" << cfg.getProductFlavourCMakeIdentifier() << "\"" << newLine;
|
||||
mo << " cFlags \"-O" << cfg.getGCCOptimisationFlag() << "\"" << newLine;
|
||||
mo << " cppFlags \"-O" << cfg.getGCCOptimisationFlag() << "\"" << newLine;
|
||||
mo << " arguments \"-DJUCE_BUILD_CONFIGFURATION=" << cfg.getProductFlavourCMakeIdentifier() << "\""
|
||||
<< ", \"-DCMAKE_CXX_FLAGS_" << (cfg.isDebug() ? "DEBUG" : "RELEASE")
|
||||
<< "=-O" << cfg.getGCCOptimisationFlag() << "\""
|
||||
<< ", \"-DCMAKE_C_FLAGS_" << (cfg.isDebug() ? "DEBUG" : "RELEASE")
|
||||
<< "=-O" << cfg.getGCCOptimisationFlag() << "\"" << newLine;
|
||||
mo << " }" << newLine;
|
||||
mo << " }" << newLine;
|
||||
mo << " }" << newLine;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue