1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: architecture/avr32/parse-config
3 # Copyright (C) 2004 - 2021 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
12 # default to a newer C standard
18 var_append CC_WRAPPER_INSERT ' ' '-std=gnu99'
22 # other quirks and overrides
25 var_append GCC_WRAPPER_REMOVE ' ' '-Werror=missing-prototypes'
28 var_append GCC_WRAPPER_REMOVE ' ' '-fstack-protector-strong'
31 var_append GCC_WRAPPER_REMOVE ' ' '-Wno-unused-result'
34 var_append GCC_WRAPPER_REMOVE ' ' '-Wno-cast-function-type -Werror=unused-result'
37 var_append GCC_WRAPPER_REMOVE ' ' '-Wlogical-op'
40 var_append GCC_WRAPPER_REMOVE ' ' '-std=gnu11'
41 var_append GCC_WRAPPER_APPEND ' ' '-D_Thread_local='''
42 # Note: manually, on CLI, this needs extra quotes!
43 var_append GCC_WRAPPER_APPEND ' ' "-D_Static_assert(a,b)=do{}while(0)"
46 var_append CC_WRAPPER_APPEND ' ' './rndjent.c?-O0:'
49 var_append GCC_WRAPPER_REMOVE ' ' '-Wtype-limits'