diff options
| author | Meco Man <[email protected]> | 2024-03-02 23:18:34 -0500 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2024-03-03 14:39:20 -0500 |
| commit | c95ffcc494513e9c2252fc140eaf756f1f18b672 (patch) | |
| tree | 657b9fd99f7b6562c38256dfe9afc46e6480a6ea /src | |
| parent | cb154ae30a56bbb48930e4a46b20314896a45005 (diff) | |
[ci][kernel] only GCC use strict checking
Diffstat (limited to 'src')
| -rw-r--r-- | src/SConscript | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/SConscript b/src/SConscript index 4d6f813bfe..11473f7c06 100644 --- a/src/SConscript +++ b/src/SConscript @@ -1,5 +1,4 @@ from building import * -from gcc import GetGCCLikePLATFORM import os src = Glob('*.c') @@ -31,7 +30,7 @@ else: LOCAL_CFLAGS = '' -if rtconfig.PLATFORM in GetGCCLikePLATFORM(): +if rtconfig.PLATFORM in ['gcc']: # only for GCC LOCAL_CFLAGS += ' -Wunused' # unused warning LOCAL_CFLAGS += ' -Wformat -Wformat-security' # printf/scanf format warning LOCAL_CFLAGS += ' -Warray-bounds -Wuninitialized' # memory access warning |
