|
Message-ID: <005a01d0f7c3$534a8360$f9df8a20$@codeaurora.org>
Date: Fri, 25 Sep 2015 13:52:26 -0500
From: "Sidney Manning" <sidneym@...eaurora.org>
To: <musl@...ts.openwall.com>
Subject: Support for .S files
Clang and gcc do not invoke the preprocessor on files with a lowercase .s
suffix.
The following addition would permit uppercase .S files.
diff --git a/Makefile b/Makefile
index 5a6a43b..66e9f50 100644
--- a/Makefile
+++ b/Makefile
@@ -133,6 +133,9 @@ endif
%.o: $(ARCH)/%.s
$(AS_CMD) $(CFLAGS_ALL_STATIC)
+%.o: $(ARCH)/%.S
+ $(CC) $(CFLAGS_ALL_STATIC) -c -o $@ $<
+
%.o: %.c $(GENH) $(IMPH)
$(CC) $(CFLAGS_ALL_STATIC) -c -o $@ $<
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by
The Linux Foundation
Content of type "text/html" skipped
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.