mirror of
https://review.haiku-os.org/buildtools
synced 2024-11-23 15:29:11 +01:00
46e1ce6913
Change-Id: I06fc1c19229e26c20132c255c92b7e71ea3cc31a Reviewed-on: https://review.haiku-os.org/c/buildtools/+/4372 Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com> Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
14 lines
583 B
Plaintext
14 lines
583 B
Plaintext
# Add -D__USE_MINGW_ACCESS to enable the built compiler to work on Windows
|
|
# Vista (see PR33281 for details).
|
|
BOOT_CFLAGS += -D__USE_MINGW_ACCESS -Wno-pedantic-ms-format
|
|
CFLAGS += -D__USE_MINGW_ACCESS
|
|
STAGE1_CXXFLAGS += -D__USE_MINGW_ACCESS
|
|
STAGE2_CXXFLAGS += -D__USE_MINGW_ACCESS
|
|
STAGE3_CXXFLAGS += -D__USE_MINGW_ACCESS
|
|
STAGE4_CXXFLAGS += -D__USE_MINGW_ACCESS
|
|
|
|
# Increase stack limit to a figure based on the Linux default, with 4MB added
|
|
# as GCC turns out to need that much more to pass all the limits-* tests.
|
|
LDFLAGS += -Wl,--stack,12582912
|
|
BOOT_LDFLAGS += -Wl,--stack,12582912
|