aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2021-10-24 22:47:44 -0700
committerMichael Forney <mforney@mforney.org>2024-03-24 02:41:18 -0700
commit731e7a2f3bf18baa4d4ce966006637ee13c5651a (patch)
tree8bc4457c7c663b544ccc0386dbabcccd7259a45a /configure
parent7585cbb758b7bc2169cba42b7665d46f0c57db93 (diff)
Add support for C23 attribute syntax
Currently, all attributes are ignored. References: https://todo.sr.ht/~mcf/cproc/68
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure b/configure
index fe5688a..d67a74f 100755
--- a/configure
+++ b/configure
@@ -154,8 +154,7 @@ static const char *const preprocesscmd[] = {
/* we don't generate position-independent code */
"-U", "__PIC__",
- /* ignore attributes and extension markers */
- "-D", "__attribute__(x)=",
+ /* ignore extension markers */
"-D", "__extension__=",
$defines};
static const char *const codegencmd[] = {"$DEFAULT_QBE"};