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