summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2017-02-13 07:34:58 +0100
committerMatthias Braun <matze@braunis.de>2017-02-13 09:02:11 +0100
commit1601575c1ac8cad0004a3964e1f2a94b8becd971 (patch)
tree69f48d53c9645641d88736034674bc5e87e19019
parenta8fa75ab9d4c00dc7ed0a112b317afccd8b6bfa2 (diff)
Avoid __pic__ preprocessor define if pic is disabled
-rw-r--r--src/driver/target.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/driver/target.c b/src/driver/target.c
index 551664c..4adf2a2 100644
--- a/src/driver/target.c
+++ b/src/driver/target.c
@@ -438,6 +438,7 @@ static bool pass_options_to_firm_be(void)
}
} else {
pic_option = "pic=none";
+ target.pic_mode = 0;
}
set_be_option(pic_option);