Created
October 9, 2015 09:25
-
-
Save wvangeit/1edbaf63a38af6cd4523 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/mac/Makefile.am b/src/mac/Makefile.am | |
index a612653..084afe6 100755 | |
--- a/src/mac/Makefile.am | |
+++ b/src/mac/Makefile.am | |
@@ -18,18 +18,4 @@ if MAC_DARWIN | |
carbon = @enable_carbon@ | |
bin_SCRIPTS = $(launch_scripts) | |
install: install-am | |
-if UniversalMacBinary | |
- $(CC) -arch ppc -o aoutppc -Dcpu="\"$(host_cpu)\"" -I. $(srcdir)/launch.c $(srcdir)/mac2uxarg.c -framework Carbon | |
- $(CC) -arch i386 -o aouti386 -Dcpu="\"$(host_cpu)\"" -I. $(srcdir)/launch.c $(srcdir)/mac2uxarg.c -framework Carbon | |
- lipo aouti386 aoutppc -create -output a.out | |
-else | |
- gcc -g -arch i386 -Dncpu="\"$(host_cpu)\"" -I. $(srcdir)/launch.c $(srcdir)/mac2uxarg.c -framework Carbon | |
- | |
-endif | |
- carbon=$(carbon) sh $(srcdir)/launch_inst.sh "$(host_cpu)" "$(DESTDIR)$(prefix)" "$(srcdir)" | |
- for i in $(S) ; do \ | |
- sed "s/^CPU.*/CPU=\"$(host_cpu)\"/" < $(DESTDIR)$(bindir)/$$i > temp; \ | |
- mv temp $(DESTDIR)$(bindir)/$$i; \ | |
- chmod 755 $(DESTDIR)$(bindir)/$$i; \ | |
- done | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment