diff options
Diffstat (limited to 'external/firebird')
-rw-r--r-- | external/firebird/ExternalProject_firebird.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/external/firebird/ExternalProject_firebird.mk b/external/firebird/ExternalProject_firebird.mk index 0e8081168997..6aa992fa1357 100644 --- a/external/firebird/ExternalProject_firebird.mk +++ b/external/firebird/ExternalProject_firebird.mk @@ -24,11 +24,15 @@ $(eval $(call gb_ExternalProject_register_targets,firebird,\ # note: this can intentionally only build against internal atomic_op # note: this can intentionally only build against internal tommath +ifneq ($(OS),WNT) +SET_FCA=&& FB_CPU_ARG='$(filter --jobserver-fds=%,$(MAKEFLAGS))' +endif + # do not set LDFLAGS - it is mysteriously not used by firebird on MacOSX $(call gb_ExternalProject_get_state_target,firebird,build): $(call gb_ExternalProject_run,build,\ unset MAKEFLAGS \ - && FB_CPU_ARG='$(filter --jobserver-fds=%,$(MAKEFLAGS))' \ + $(SET_FCA) \ && if [ -n "$${FB_CPU_ARG}" ]; then \ FB_PRLL_ARG="CPU=\$$(EMPTY) $${FB_CPU_ARG}"; \ else \ |