Skip to content

Commit a710371

Browse files
committed
ARCH should be less generic. (pbuilder overwrites it.)
1 parent 07a52de commit a710371

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ endif
6868
ifeq ($(shell sh -c 'uname -s'),Darwin)
6969
INSTALLFLAGS = -S
7070
LDFLAGS += -liconv
71-
ARCH = -arch x86_64 -arch i386
71+
OTHARCH = -arch x86_64 -arch i386
7272
PACKAGE_OSX = $(NAME)-$(VERSION).pkg
7373
TEMPDIR = /private/var/tmp
7474
endif
@@ -185,7 +185,7 @@ endef
185185
all: build
186186

187187
build: $(SRCS)
188-
$(CC) $(LDFLAGS) $(CFLAGS) $(ARCH) $(SRCS) -o $(PROGRAM) -lm
188+
$(CC) $(LDFLAGS) $(CFLAGS) $(OTHARCH) $(SRCS) -o $(PROGRAM) -lm
189189

190190
install: build
191191
$(INSTALL_PROGRAM) -d $(DESTDIR)$(BINDIR)

0 commit comments

Comments
 (0)