summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAstrid Smith2011-10-22 00:48:25 -0700
committerAstrid Smith2011-10-22 00:48:25 -0700
commit3c802cbedc1f5e5f07afb837efcc160c11336e83 (patch)
tree671a540f93f5d910594119eb7e40b438facf49bb /Makefile
parentb9be2d76a48409e1b5053338cd5f51f22b6e5b2f (diff)
Now gas eats it all happily
With the exception of the final binary being too large to link ...
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9da723e..ceb582b 100644
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,8 @@ NATIVE_OBJ=packager
# flags for the tigcc cross-compiler
TIGCCFLAGS_DEBUG=--debug -WA,-l$(LISTING_DEBUG)
-TIGCCFLAGS=-Wall -Os -ffunction-sections -fdata-sections --optimize-code --cut-ranges --reorder-sections --merge-constants --remove-unused -Wall -Wextra -Wwrite-strings -WA,-d
+TIGCCFLAGS=-Wall -Os -ffunction-sections -fdata-sections --optimize-code --cut-ranges --reorder-sections --merge-constants --remove-unused -Wall -Wextra -Wwrite-strings -WA,-d -Wa,--register-prefix-optional -Wa,-alhs
+#-Wa,-ahls
# flags for the native C compiler
CFLAGS=-Wall -ltifiles