aboutsummaryrefslogtreecommitdiff
path: root/libgcc/config/i386/t-cygwin
diff options
context:
space:
mode:
Diffstat (limited to 'libgcc/config/i386/t-cygwin')
-rw-r--r--libgcc/config/i386/t-cygwin6
1 files changed, 6 insertions, 0 deletions
diff --git a/libgcc/config/i386/t-cygwin b/libgcc/config/i386/t-cygwin
index 22df636..f85ec24 100644
--- a/libgcc/config/i386/t-cygwin
+++ b/libgcc/config/i386/t-cygwin
@@ -1,3 +1,9 @@
+# If we are building next to winsup, this will let us find the real
+# limits.h when building libgcc2. Otherwise, winsup must be installed
+# first.
+LIBGCC2_INCLUDES += -I$(srcdir)/../winsup/include \
+ -I$(srcdir)/../winsup/cygwin/include
+
# Cygwin-specific parts of LIB_SPEC
SHLIB_LC = -lcygwin -ladvapi32 -lshell32 -luser32 -lkernel32