Skip to content

Commit

Permalink
ARCH should be less generic. (pbuilder overwrites it.)
Browse files Browse the repository at this point in the history
  • Loading branch information
da2x committed Jan 5, 2013
1 parent 07a52de commit a710371
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ endif
ifeq ($(shell sh -c 'uname -s'),Darwin)
INSTALLFLAGS = -S
LDFLAGS += -liconv
ARCH = -arch x86_64 -arch i386
OTHARCH = -arch x86_64 -arch i386
PACKAGE_OSX = $(NAME)-$(VERSION).pkg
TEMPDIR = /private/var/tmp
endif
Expand Down Expand Up @@ -185,7 +185,7 @@ endef
all: build

build: $(SRCS)
$(CC) $(LDFLAGS) $(CFLAGS) $(ARCH) $(SRCS) -o $(PROGRAM) -lm
$(CC) $(LDFLAGS) $(CFLAGS) $(OTHARCH) $(SRCS) -o $(PROGRAM) -lm

install: build
$(INSTALL_PROGRAM) -d $(DESTDIR)$(BINDIR)
Expand Down

0 comments on commit a710371

Please sign in to comment.