Blame SOURCES/atlas-melf.patch
|
|
c34203 |
diff --git a/CONFIG/src/SpewMakeInc.c b/CONFIG/src/SpewMakeInc.c
|
|
|
c34203 |
index eed259e..65d68a1 100644
|
|
|
c34203 |
--- a/CONFIG/src/SpewMakeInc.c
|
|
|
c34203 |
+++ b/CONFIG/src/SpewMakeInc.c
|
|
|
c34203 |
@@ -764,9 +764,9 @@ int main(int nargs, char **args)
|
|
|
c34203 |
else
|
|
|
c34203 |
{
|
|
|
c34203 |
if (ptrbits == 32)
|
|
|
c34203 |
- fprintf(fpout, " -melf_i386");
|
|
|
c34203 |
+ fprintf(fpout, " -Wl,-melf_i386");
|
|
|
c34203 |
else if (ptrbits == 64)
|
|
|
c34203 |
- fprintf(fpout, " -melf_x86_64");
|
|
|
c34203 |
+ fprintf(fpout, " -Wl,-melf_x86_64");
|
|
|
c34203 |
if (OS == OSFreeBSD)
|
|
|
c34203 |
fprintf(fpout, "_fbsd");
|
|
|
c34203 |
}
|