Use -mmacosx-version-min
authorJoseph C. Lehner <joseph.c.lehner@gmail.com>
Mon, 8 Feb 2016 22:29:12 +0000 (23:29 +0100)
committerJoseph C. Lehner <joseph.c.lehner@gmail.com>
Mon, 8 Feb 2016 22:29:12 +0000 (23:29 +0100)
Makefile

index 3b38b98c3acadcc8253e8d9c4ee526623120b550..cc931b1fcb3f2d20d9da4c138b4809cb30088a58 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,7 @@ install: nmrpflash
        install -m 755 nmrpflash $(PREFIX)/bin
 
 release/osx:
-       CFLAGS="-arch i686 -arch x86_64" make release
+       CFLAGS="-arch i686 -arch x86_64 -mmacosx-version-min=10.6" make release
        zip nmrpflash-osx.zip nmrpflash
 
 release/linux: release