Allow QMAKE_[C|CXX|L]FLAGS to be set externally from PGADMIN_[C|CXX|LD]FLAGS environment variables respectively.
parent
c04b729c1d
commit
c16df45f2c
|
@ -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...)
|
||||
|
||||
|
|
Loading…
Reference in New Issue