forked from pool/elilo
Marcus Meissner
3e5d681a2e
- Add elilo-c99.patch so that the package conforms to the C99 standard and builds on i586 with GCC 14. If the request is OK, please forward it to factory soon-ish so that we can switch the default compiler. OBS-URL: https://build.opensuse.org/request/show/1189763 OBS-URL: https://build.opensuse.org/package/show/Base:System/elilo?expand=0&rev=26
27 lines
904 B
Diff
27 lines
904 B
Diff
diff --git a/ia32/Makefile b/ia32/Makefile
|
|
index 46609c4..078efc9 100644
|
|
--- a/ia32/Makefile
|
|
+++ b/ia32/Makefile
|
|
@@ -43,7 +43,7 @@ system.o: rmswitch.h
|
|
|
|
rmswitch.h: bin_to_h.c rmswitch.S
|
|
$(CC) $(OPTIMFLAGS) -o bin_to_h $(SRCDIR)/bin_to_h.c
|
|
- $(AS) -o rmswitch.o $(SRCDIR)/rmswitch.S
|
|
+ $(AS) -mx86-used-note=no -o rmswitch.o $(SRCDIR)/rmswitch.S
|
|
$(LD) -Ttext 0x0 -s --oformat binary -o rmswitch rmswitch.o
|
|
./bin_to_h <rmswitch >rmswitch.h
|
|
|
|
diff --git a/x86_64/Makefile b/x86_64/Makefile
|
|
index e7c81f8..a3f2411 100644
|
|
--- a/x86_64/Makefile
|
|
+++ b/x86_64/Makefile
|
|
@@ -44,7 +44,7 @@ system.o: rmswitch.h
|
|
|
|
rmswitch.h: bin_to_h.c rmswitch.S
|
|
$(CC) $(OPTIMFLAGS) -o bin_to_h $(SRCDIR)/bin_to_h.c
|
|
- $(AS) -o rmswitch.o $(SRCDIR)/rmswitch.S
|
|
+ $(AS) -mx86-used-note=no -o rmswitch.o $(SRCDIR)/rmswitch.S
|
|
$(LD) -Ttext 0x0 -s --oformat binary -o rmswitch rmswitch.o
|
|
./bin_to_h <rmswitch >rmswitch.h
|
|
|