diff --git a/www-client/links/links-2.28.recipe b/www-client/links/links-2.28.recipe index 24a343767..699ad4629 100644 --- a/www-client/links/links-2.28.recipe +++ b/www-client/links/links-2.28.recipe @@ -77,12 +77,18 @@ defineDebugInfoPackage links$secondaryArchSuffix \ BUILD() { autoreconf -vfi + + if [ $effectiveTargetArchitecture == 'x86' ]; then + export CFLAGS="-DTIFF_DISABLE_DEPRECATED -g -O2 -fopenmp" + fi + runConfigure --omit-dirs binDir ./configure \ --bindir="$commandBinDir" \ --without-x \ --with-haiku \ --with-ssl \ --enable-graphics + make $jobArgs }