summaryrefslogtreecommitdiff
path: root/pkg/cproc/config.h
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2021-09-30 22:20:04 -0700
committerMichael Forney <mforney@mforney.org>2021-10-05 14:54:01 -0700
commitf0287a18d3b8048553773eda7986b2514c68e9e8 (patch)
tree5d147d3cfa42cbd67b12b752c0adf0c7c68d1118 /pkg/cproc/config.h
parent4812c12f97ac3fa479526e2a8a0abaf863e99279 (diff)
cproc: Update to latest git
Diffstat (limited to 'pkg/cproc/config.h')
-rw-r--r--pkg/cproc/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/cproc/config.h b/pkg/cproc/config.h
index 571bf0bc..5bdf47e7 100644
--- a/pkg/cproc/config.h
+++ b/pkg/cproc/config.h
@@ -14,6 +14,9 @@ static const char *const preprocesscmd[] = {
"-D", "__STDC_NO_VLA__",
"-U", "__SIZEOF_INT128__",
+ /* we don't generate position-independent code */
+ "-U", "__PIC__",
+
/* ignore attributes and extension markers */
"-D", "__attribute__(x)=",
"-D", "__extension__=",