From: Elan Ruusamäe Date: Fri, 20 Mar 2015 16:58:04 +0000 (+0000) Subject: set $HOST env to make X-Git-Tag: auto/th/acpica-20141107-1~3 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=9322a90cfdd37dfda8fd65ad2026b4292c9eabfe;hp=e8495c16b7ab8012326f9a4f0bc9dbb6c2a6690a;p=packages%2Facpica.git set $HOST env to make this is to avoid $HOST=carme-pld-x32 producing warnings, which later are prompoted to -Werror: gcc -c -Dcarme-pld-x32 ... :0:6: warning: missing whitespace after the macro name --- diff --git a/acpica.spec b/acpica.spec index b0bd0e4..053add5 100644 --- a/acpica.spec +++ b/acpica.spec @@ -30,6 +30,7 @@ tablic DSDT. %build %{__make} \ + HOST=_LINUX \ CC="%{__cc}" \ OPT_CFLAGS="%{rpmcflags}" \ RPMLDFLAGS="%{rpmcflags} %{rpmldflags}"