#325 closed defect (fixed)
configure doesn't recognize amd64 on PLD Linux
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Component: | build system |
Version: | 1.0pre7 | Severity: | minor |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
The following rule (configure line 475):
if [ "$_cc -dumpmachine | grep x86_64 | cut -d- -f1
" = "x86_64" -a \
doesn't catch the amd64 gcc from PLD Linux Distribution's which reponds
"amd64-pld-linux" to gcc -dumpmachine
. It eventually leads to build failures
on assembler code. Extending the above heuristics to detect "amd64" as well as
"x86_64" makes mplayer build just fine.
Attachments (2)
Change History (8)
comment:1 by , 19 years ago
Component: | core → build system |
---|---|
Owner: | changed from | to
comment:2 by , 19 years ago
Status: | new → assigned |
---|---|
Summary: | configure doesn't recognize amd64 → configure doesn't recognize amd64 on PLD Linux |
comment:4 by , 19 years ago
This patch is non-portable. Please find a way to accomplish this without grep -E.
comment:5 by , 19 years ago
attachments.isobsolete: | 0 → 1 |
---|
Here's a variant of the previous patch using sed instead of grep -E.
If you prefer using other text processing tools (eg. awk), I am willing to
prepare a version using those as well. Using plain grep is also possible.
I'll apply your patch once you send it ;-)