move make to examples/build_system
add -Wl,--no-warn-rwx-segment for gcc 12+
This commit is contained in:
@@ -34,6 +34,7 @@ def build_family(example, family, make_option):
|
||||
# sum all element of same index (column sum)
|
||||
return list(map(sum, list(zip(*result))))
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
# IAR CC
|
||||
if make_iar_option not in sys.argv:
|
||||
@@ -44,7 +45,7 @@ if __name__ == '__main__':
|
||||
for d in os.scandir("examples"):
|
||||
if d.is_dir() and 'cmake' not in d.name:
|
||||
for entry in os.scandir(d.path):
|
||||
if entry.is_dir() and 'cmake' not in entry.name:
|
||||
if entry.is_dir() and 'cmake' not in entry.name and entry.name != 'build_system':
|
||||
all_examples.append(d.name + '/' + entry.name)
|
||||
filter_with_input(all_examples)
|
||||
all_examples.sort()
|
||||
|
||||
Reference in New Issue
Block a user