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 2016-06-20 12:54:41 +01:00
parent c04b729c1d
commit c16df45f2c

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...)