From 35b92adcfc16c13b15b0a778964c118bda45b89b Mon Sep 17 00:00:00 2001 From: Rainer Mueller Date: Fri, 5 Aug 2011 14:23:27 +0200 Subject: [PATCH] No section attribute on Mac OS X This attribute isn't compatible with Mach-O, so avoid this when building simulat0r on Mac OS X. --- firmware/l0dable/mktable.pl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/firmware/l0dable/mktable.pl b/firmware/l0dable/mktable.pl index ad54420..254ca2c 100755 --- a/firmware/l0dable/mktable.pl +++ b/firmware/l0dable/mktable.pl @@ -77,7 +77,12 @@ sub wanted { File::Find::find({wanted => \&wanted}, '.'); print C ""; -print C qq!__attribute__ ((used, section("table"))) const void * TheTable[]={!; +print C <