Replaced upper case variable names with base/llvm,mozilla-nss and xorg/mesa

This commit is contained in:
PktSurf 2022-07-14 17:22:33 +05:30
parent 90ace55c9a
commit ff4e0e1222
3 changed files with 5 additions and 5 deletions

View file

@ -23,9 +23,9 @@ build() {
mkdir -p smbuild && cd smbuild
# Set build targets
if [ "$ARCH" = "x86_64" ] ; then
if [ "$arch" = "x86_64" ] ; then
buildtarget='X86;AMDGPU;BPF'
elif [ "$ARCH" = "aarch64" ] ; then
elif [ "$arch" = "aarch64" ] ; then
buildtarget="AArch64;ARM;BPF"
fi

View file

@ -20,7 +20,7 @@ build() {
fixbuilddirpermissions
# NSS doesn't like our ARM64-specific optimization C/CXXFLAGS
if [ "$ARCH" == "aarch64" ] ; then
if [ "$arch" == "aarch64" ] ; then
unset CFLAGS CXXFLAGS
fi

View file

@ -21,11 +21,11 @@ build() {
export CFLAGS="$CFLAGS -D_XOPEN_SOURCE=700"
if [ "$ARCH" = "aarch64" ]; then
if [ "$arch" = "aarch64" ]; then
dridrivers=""
galliumdrivers="vc4,v3d,kmsro"
elif [ "$ARCH" = "x86_64" ]; then
elif [ "$arch" = "x86_64" ]; then
dridrivers="i915,i965,nouveau,r100,r200,swrast"
galliumdrivers="nouveau,radeonsi,r300,r600"
fi