Replaced upper case variable names with base/llvm,mozilla-nss and xorg/mesa
This commit is contained in:
parent
90ace55c9a
commit
ff4e0e1222
3 changed files with 5 additions and 5 deletions
|
@ -23,9 +23,9 @@ build() {
|
||||||
mkdir -p smbuild && cd smbuild
|
mkdir -p smbuild && cd smbuild
|
||||||
|
|
||||||
# Set build targets
|
# Set build targets
|
||||||
if [ "$ARCH" = "x86_64" ] ; then
|
if [ "$arch" = "x86_64" ] ; then
|
||||||
buildtarget='X86;AMDGPU;BPF'
|
buildtarget='X86;AMDGPU;BPF'
|
||||||
elif [ "$ARCH" = "aarch64" ] ; then
|
elif [ "$arch" = "aarch64" ] ; then
|
||||||
buildtarget="AArch64;ARM;BPF"
|
buildtarget="AArch64;ARM;BPF"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ build() {
|
||||||
fixbuilddirpermissions
|
fixbuilddirpermissions
|
||||||
|
|
||||||
# NSS doesn't like our ARM64-specific optimization C/CXXFLAGS
|
# NSS doesn't like our ARM64-specific optimization C/CXXFLAGS
|
||||||
if [ "$ARCH" == "aarch64" ] ; then
|
if [ "$arch" == "aarch64" ] ; then
|
||||||
unset CFLAGS CXXFLAGS
|
unset CFLAGS CXXFLAGS
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -21,11 +21,11 @@ build() {
|
||||||
|
|
||||||
export CFLAGS="$CFLAGS -D_XOPEN_SOURCE=700"
|
export CFLAGS="$CFLAGS -D_XOPEN_SOURCE=700"
|
||||||
|
|
||||||
if [ "$ARCH" = "aarch64" ]; then
|
if [ "$arch" = "aarch64" ]; then
|
||||||
dridrivers=""
|
dridrivers=""
|
||||||
galliumdrivers="vc4,v3d,kmsro"
|
galliumdrivers="vc4,v3d,kmsro"
|
||||||
|
|
||||||
elif [ "$ARCH" = "x86_64" ]; then
|
elif [ "$arch" = "x86_64" ]; then
|
||||||
dridrivers="i915,i965,nouveau,r100,r200,swrast"
|
dridrivers="i915,i965,nouveau,r100,r200,swrast"
|
||||||
galliumdrivers="nouveau,radeonsi,r300,r600"
|
galliumdrivers="nouveau,radeonsi,r300,r600"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue