mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 00:15:30 +00:00
Fix for #2985480 - AMIGAOS4: Compiler errors on ./configure
svn-id: r48688
This commit is contained in:
parent
5c347aa70a
commit
09c0e55306
6
configure
vendored
6
configure
vendored
@ -204,7 +204,11 @@ EOF
|
||||
}
|
||||
|
||||
gcc_get_define() {
|
||||
$CXX -dM -E - < /dev/null | fgrep "$1" | head -n1 | cut -d ' ' -f 3-
|
||||
# Note: The AmigaOS compiler doesn't like the "-" input file, so a real file
|
||||
# is used instead
|
||||
touch $TMPC
|
||||
$CXX -dM -E $TMPC | fgrep "$1" | head -n1 | cut -d ' ' -f 3-
|
||||
rm -f $TMPC
|
||||
}
|
||||
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user