Skip to content

Commit

Permalink
Pass CFLAGS, CXXFLAGS and LDFLAGS to qmake
Browse files Browse the repository at this point in the history
  • Loading branch information
mblauth committed Jan 24, 2017
1 parent 2582ff0 commit 5ebf002
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,10 @@ public:
else // qc_buildmode_debug
opts += "debug";
other += "QMAKE_CFLAGS += \$\$(CFLAGS)\\n";
other += "QMAKE_CXXFLAGS += \$\$(CXXFLAGS)\\n";
other += "QMAKE_LFLAGS += \$\$(LDFLAGS)\\n";
if(qc_buildmode_separate_debug_info)
{
opts += "separate_debug_info";
Expand Down

0 comments on commit 5ebf002

Please sign in to comment.