[packages/acpica] set $HOST env to make

glen glen at pld-linux.org
Fri Mar 20 18:18:00 CET 2015


commit 9322a90cfdd37dfda8fd65ad2026b4292c9eabfe
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Mar 20 16:58:04 2015 +0000

    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 ...
    <command-line>:0:6: warning: missing whitespace after the macro name

 acpica.spec | 1 +
 1 file changed, 1 insertion(+)
---
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}"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/acpica.git/commitdiff/b3f0bd181d1b404eac1c912f552afe5fb9c42e1c



More information about the pld-cvs-commit mailing list