Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=setup.git;a=commitdiff;h=e830df95f84686032d9f9064af244cb2780b73ac

commit e830df95f84686032d9f9064af244cb2780b73ac
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Mon Sep 29 22:12:22 2008 +0200

define ARCH_$arch for plugins as well

diff --git a/src/plugins/Makefile b/src/plugins/Makefile
index 8aeeebb..95ac206 100644
--- a/src/plugins/Makefile
+++ b/src/plugins/Makefile
@@ -22,7 +22,7 @@ CFLAGS ?= -Wall -Werror -O2 -pipe
else
CFLAGS ?= -g -Wall -Werror
endif
-CFLAGS += -I.. -DARCH="\"$(shell arch)\""
+CFLAGS += -I.. -DARCH="\"$(shell arch)\"" -DARCH_$(shell arch|tr [a-z] [A-Z])
LDFLAGS += -lparted -ldl -lpacman -lvolume_id
ifeq ($(shell arch),x86_64)
CFLAGS += -fPIC
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to