kopia lustrzana https://github.com/OpenDroneMap/ODM
Merge pull request #1176 from diddledan/gcc-wrapper-fix
Update GCC Wrapper scripts for portable buildpull/1179/head
commit
842640528a
|
@ -1,12 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
args=""
|
||||
declare -a args
|
||||
|
||||
for i in "$@"
|
||||
do
|
||||
if [[ $i != -march* ]]; then
|
||||
args="$args $i"
|
||||
if [[ "$i" != -march* ]]; then
|
||||
args+=("$i")
|
||||
fi
|
||||
done
|
||||
|
||||
/usr/bin/g++_real -march=nehalem $args
|
||||
/usr/bin/g++_real -march=nehalem "${args[@]}"
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
args=""
|
||||
declare -a args
|
||||
|
||||
for i in "$@"
|
||||
do
|
||||
if [[ $i != -march* ]]; then
|
||||
args="$args $i"
|
||||
if [[ "$i" != -march* ]]; then
|
||||
args+=("$i")
|
||||
fi
|
||||
done
|
||||
|
||||
/usr/bin/gcc_real -march=nehalem $args
|
||||
/usr/bin/gcc_real -march=nehalem "${args[@]}"
|
||||
|
|
Ładowanie…
Reference in New Issue