on master help sign in
Force gcc to use the same architecture as ghc on Mac OS X
commitff0fbfad053e7126f9cd7a49d2e79cd2ad9c6c7a authorDavid Christiansen <david@davidchristiansen.dk> dateThu 4 Apr 2013, 17:03 (14 years ago) parentb0a82cf
1 file changed+1−1
rts/Makefile+1−1
rts/Makefile+1−1
@@ -10,7 +10,7 @@ endif
1010
1111# Build a fat lib on Mac OS X
1212ifeq ($(OS),darwin)
13− CFLAGS += -arch i386 -arch x86_64
13+ CFLAGS += -arch $(shell ghc -e System.Info.arch | tr -d '"')
1414endif
1515
1616LIBTARGET = libidris_rts.a