diff options
Diffstat (limited to '.envrc')
| -rw-r--r-- | .envrc | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -0,0 +1,27 @@ +#!/bin/sh + +export CFLAGS=' + -D_POSIX_C_SOURCE=200809L + -D_XOPEN_SOURCE=700 + -Iarch/x86_64 + -Iarch/generic + -Isrc/include + -Isrc/internal + -Iinclude + -std=c99 + -fsanitize=undefined + -fsanitize-trap + -ffreestanding + -Wall + -Wextra + -Wfatal-errors + -Wconversion + -Wvla + -Wshadow + -Wfloat-equal + -Wundef + -Wdouble-promotion +' + # -Wpedantic + # -Werror +CFLAGS="$(echo "$CFLAGS" | grep . | tr -d '\t' | tr '\n' ' ')" |
