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