diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-02-14 08:52:55 +0300 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-02-16 04:02:51 +0300 |
commit | 907764ebec6303ed73399ab908eed73e4978a1ad (patch) | |
tree | 2117cb8493b5f2f400d59bbc502ca393fe3b378a /libgloss | |
parent | df5808b77122e1bb5e4517e5dbd7f8e4093108c2 (diff) |
newlib/libgloss: drop unused $(CROSS_CFLAGS)
This is used in a bunch of places, but nowhere is it ever set, and
nowhere can I find any documentation, nor can I find any other project
using it. So delete the flags to simplify.
Diffstat (limited to 'libgloss')
-rw-r--r-- | libgloss/Makefile.am | 1 | ||||
-rw-r--r-- | libgloss/Makefile.in | 1 | ||||
-rw-r--r-- | libgloss/sparc/libsys/Makefile.in | 8 | ||||
-rw-r--r-- | libgloss/testsuite/Makefile.in | 1 |
4 files changed, 4 insertions, 7 deletions
diff --git a/libgloss/Makefile.am b/libgloss/Makefile.am index b180309ca..6f2377f54 100644 --- a/libgloss/Makefile.am +++ b/libgloss/Makefile.am @@ -39,7 +39,6 @@ FLAGS_TO_PASS = \ "MAKEINFO=$(MAKEINFO)" \ "AS=$(AS)" \ "LD=$(LD)" \ - "CROSS_CFLAGS=$(CROSS_CFLAGS)" \ "TARGET_CFLAGS=$(TARGET_CFLAGS)" \ "exec_prefix=$(exec_prefix)" \ "prefix=$(prefix)" \ diff --git a/libgloss/Makefile.in b/libgloss/Makefile.in index 0fca662f6..5b8d74b01 100644 --- a/libgloss/Makefile.in +++ b/libgloss/Makefile.in @@ -540,7 +540,6 @@ FLAGS_TO_PASS = \ "MAKEINFO=$(MAKEINFO)" \ "AS=$(AS)" \ "LD=$(LD)" \ - "CROSS_CFLAGS=$(CROSS_CFLAGS)" \ "TARGET_CFLAGS=$(TARGET_CFLAGS)" \ "exec_prefix=$(exec_prefix)" \ "prefix=$(prefix)" \ diff --git a/libgloss/sparc/libsys/Makefile.in b/libgloss/sparc/libsys/Makefile.in index b732137c5..c6c2bc300 100644 --- a/libgloss/sparc/libsys/Makefile.in +++ b/libgloss/sparc/libsys/Makefile.in @@ -50,9 +50,9 @@ RANLIB = @RANLIB@ .SUFFIXES: .c .S .o _r.o .S_r.o: - $(CC) $(CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) $(NEWLIB_CFLAGS) -DREENT $(INCLUDES) -c $< -o $@ + $(CC) $(CFLAGS) $(TARGET_CFLAGS) $(NEWLIB_CFLAGS) -DREENT $(INCLUDES) -c $< -o $@ .c_r.o: - $(CC) $(CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) $(NEWLIB_CFLAGS) -DREENT $(INCLUDES) -c $< -o $@ + $(CC) $(CFLAGS) $(TARGET_CFLAGS) $(NEWLIB_CFLAGS) -DREENT $(INCLUDES) -c $< -o $@ # CFILES_R, SFILES_R, and TEMPLATE_SFILES_R define those system calls that are # needed by the ANSI C part of newlib when REENTRANT_SYSCALLS_PROVIDED is @@ -118,13 +118,13 @@ stamp-srcs: Makefile template.S template_r.S for f in $(TEMPLATE_SFILES:_=) ; \ do \ $(CC) -E -Dfunc=$$f \ - $(CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) $(NEWLIB_CFLAGS) $(INCLUDES) \ + $(CFLAGS) $(TARGET_CFLAGS) $(NEWLIB_CFLAGS) $(INCLUDES) \ $(srcdir)/template.S >$$f.S ; \ done for f in $(TEMPLATE_SFILES_R:_=) ; \ do \ $(CC) -E -Dfunc=$$f \ - $(CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) $(NEWLIB_CFLAGS) $(INCLUDES) \ + $(CFLAGS) $(TARGET_CFLAGS) $(NEWLIB_CFLAGS) $(INCLUDES) \ $(srcdir)/template_r.S | sed -e 's/^_/#/' >$$f.S ; \ done touch stamp-srcs diff --git a/libgloss/testsuite/Makefile.in b/libgloss/testsuite/Makefile.in index 28fd9143e..8d465aa03 100644 --- a/libgloss/testsuite/Makefile.in +++ b/libgloss/testsuite/Makefile.in @@ -57,7 +57,6 @@ FLAGS_TO_PASS = \ "RANLIB=$(RANLIB)" \ "AR_FLAGS=$(AR_FLAGS)" \ "AS=$(AS)" \ - "CROSS_CFLAGS=$(CROSS_CFLAGS)" \ "TARGET_CFLAGS=$(TARGET_CFLAGS)" \ "OBJROOT=$(OBJROOT)" |