mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
sane_backends: make CFLAGS consistent for all architectures (no debuginfo)
This commit is contained in:
@@ -16,7 +16,7 @@ documentation."
|
||||
HOMEPAGE="http://www.sane-project.org"
|
||||
COPYRIGHT="David Mosberger-Tang, Andy Beck"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
SOURCE_URI="https://gitlab.com/sane-project/backends/-/archive/$portVersion/backends-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="cc8796701015def1c598f97962a70d63957b9786841391cc412a606568b42b96"
|
||||
SOURCE_DIR="backends-$portVersion"
|
||||
@@ -92,6 +92,8 @@ BUILD()
|
||||
{
|
||||
if [ $effectiveTargetArchitecture == 'x86' ]; then
|
||||
export CFLAGS="-DTIFF_DISABLE_DEPRECATED -O2"
|
||||
else
|
||||
export CFLAGS="-O2"
|
||||
fi
|
||||
|
||||
./autogen.sh
|
||||
|
||||
Reference in New Issue
Block a user