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