mrpd: support ARM build
authorAndrew Elder <aelder@audioscience.com>
Wed, 2 Jan 2013 21:05:28 +0000 (16:05 -0500)
committerAndrew Elder <aelder@audioscience.com>
Thu, 3 Jan 2013 13:39:55 +0000 (08:39 -0500)
daemons/mrpd/Makefile

index 6e17eb6..bc0ef28 100644 (file)
@@ -2,7 +2,11 @@ OPT=-O2
 #CFLAGS=$(OPT) -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -ggdb
 CFLAGS=$(OPT) -Wall -W -Wno-parentheses -ggdb -D_GNU_SOURCE
 
+ifeq ($(ARCH),arm)
+CC=arm-none-linux-gnueabi-gcc
+else
 CC=gcc
+endif
 INCFLAGS=-I../common
 #LDLIBS=-ligb -lpci
 #LDFLAGS=-L../lib