Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
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

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ