Allow QMAKE_[C|CXX|L]FLAGS to be set externally from PGADMIN_[C|CXX|LD]FLAGS environment variables respectively.

This commit is contained in:
Dave Page committed 2016-06-20 12:54:49 +01:00
1 parent c04b729c1d
commit c16df45f2c
1 file changed
+5
+5
View File
@@ -18,6 +18,11 @@ CONFIG(debug, debug|release) {
message(Configure pgAdmin4 to run in debug mode...)
}
# Environment settings for the build
QMAKE_CFLAGS += $$(PGADMIN_CFLAGS)
QMAKE_CXXFLAGS += $$(PGADMIN_CXXFLAGS)
QMAKE_LFLAGS += $$(PGADMIN_LDFLAGS)
win32 {
message(Building for Windows...)