mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-16 11:28:39 +08:00
Allow to set optimization level during configure.
This allows to set the optimization level for libbsd via a configure switch. Useful for building with for example no optimization during debug or with size optimization for space restricted targets.
This commit is contained in:

committed by
Sebastian Huber

parent
a70edfc49a
commit
d18c6435c4
@@ -156,8 +156,7 @@ class diffRecord:
|
||||
# This stuff needs to move to libbsd.py.
|
||||
#
|
||||
def commonFlags():
|
||||
return ['-O2',
|
||||
'-g',
|
||||
return ['-g',
|
||||
'-fno-strict-aliasing',
|
||||
'-ffreestanding',
|
||||
'-fno-common']
|
||||
|
Reference in New Issue
Block a user