summaryrefslogtreecommitdiff
path: root/cg.h
diff options
context:
space:
mode:
authorJohn van Groningen2015-10-22 12:54:53 +0000
committerJohn van Groningen2015-10-22 12:54:53 +0000
commit8afac173dac7b0bbd4e8d441b58b5c2e57658033 (patch)
tree35acd5f1eb17441a2ceb38d011df672d3a4efaaf /cg.h
parentfix typo (diff)
add option -pic to generate position independent code on ARM
Diffstat (limited to 'cg.h')
-rw-r--r--cg.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cg.h b/cg.h
index 5cdad7f..c7ebd86 100644
--- a/cg.h
+++ b/cg.h
@@ -34,8 +34,10 @@ extern int profile_table_flag;
extern int fmadd_flag;
#endif
-#if defined (LINUX) && defined (G_AI64)
+#if (defined (LINUX) && defined (G_AI64)) || defined (ARM)
extern int pic_flag;
+#endif
+#if defined (LINUX) && defined (G_AI64)
extern int rts_got_flag;
#endif