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