Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2023-12-04 10:03:07 +0300
committerJeff Johnston <jjohnstn@redhat.com>2023-12-19 22:00:03 +0300
commit751a3427e012b165086a4fd2da5981b0bbeaac07 (patch)
treeae0e96d3920f66443f20498b47036731e2dfd96a /libgloss/config/ppc.mh
parentf81bf08f7caaebf877956d5d09c56a5d501de08a (diff)
libgloss: drop $(INCLUDES) when using $(AS)
Since $(AS) is the assembler, passing it a list of preprocessor include flags doesn't make much sense. The files aren't preprocessed which means `#include` lines aren't respected, and while it would affect `.include` usage, we never use that, and it's extremely unlikely to change. Plus, it's extremely unlikely we'd have .s files in common places to include vs contained entirely within a specific arch dir, and at that point, it can be included directly (with no flags), or the arch can add the unique set of include paths that it needs for itself.
Diffstat (limited to 'libgloss/config/ppc.mh')
-rw-r--r--libgloss/config/ppc.mh2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgloss/config/ppc.mh b/libgloss/config/ppc.mh
index a3d157bb8..d1bfd7588 100644
--- a/libgloss/config/ppc.mh
+++ b/libgloss/config/ppc.mh
@@ -18,7 +18,7 @@ AR_FLAGS = qc
.C.o:
$(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS_MRELOCATABLE) -O2 $(INCLUDES) -c $(CFLAGS) $<
.s.o:
- $(AS) $(ASFLAGS_FOR_TARGET) $(INCLUDES) $(ASFLAGS) -o $*.o $<
+ $(AS) $(ASFLAGS_FOR_TARGET) $(ASFLAGS) -o $*.o $<
#
# GCC knows to run the preprocessor on .S files before it assembles them.