Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[dyncall] workaround for build issues on case-insensitive file systems

fixes issue #47
  • Loading branch information...
commit 62b9fc9f162991e66044c6fdb90a7b9dd2ee9d98 1 parent 2452100
@gerdr gerdr authored
Showing with 9 additions and 2 deletions.
  1. +9 −2 3rdparty/dyncall/buildsys/gmake/tool/gcc.gmake
View
11 3rdparty/dyncall/buildsys/gmake/tool/gcc.gmake
@@ -45,12 +45,19 @@ endif
# --- Assemble ----------------------------------------------------------------
-$(BUILD_DIR)/%.o: %.S
- $(COMPILE.S) $(OUTPUT_OPTION) $<
+# FIXME:
+# Windows filenames are case-insensitive, ie %.s and %.S match the same files
+#
+# For now, just put the %.S rule after the %.s rule: apparently, GNU make will
+# execute the rule defined last, and $(COMPILE.S) works for .s files as well
+# (see dyncall/README-Developer.txt)
$(BUILD_DIR)/%.o: %.s
$(COMPILE.s) $(OUTPUT_OPTION) $<
+$(BUILD_DIR)/%.o: %.S
+ $(COMPILE.S) $(OUTPUT_OPTION) $<
+
# auto-dependency: disabled, due to problems when including *.d files, see targets.gmake for details
# $(CC) -MM -MT $@ $(CPPFLAGS) $< > $(BUILD_DIR)/$*.d
Please sign in to comment.
Something went wrong with that request. Please try again.