Changeset d18c643 in rtems-libbsd for libbsd_waf.py


Ignore:
Timestamp:
Oct 2, 2017, 7:57:04 AM (23 months ago)
Author:
Christian Mauderer <Christian.Mauderer@…>
Branches:
fd86c091b97759106da7355ce1dd81ebe030e285, f020f08430150c1656a0ad0a1de13699db9b980b
Children:
67cbb9d
Parents:
a70edfc
git-author:
Christian Mauderer <Christian.Mauderer@…> (10/02/17 07:57:04)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/02/17 12:18:52)
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libbsd_waf.py

    ra70edfc rd18c643  
    3535    # C/C++ flags
    3636    common_flags = []
    37     common_flags += ["-O2"]
     37    common_flags += ["-O" + bld.env.OPTIMIZATION]
    3838    common_flags += ["-g"]
    3939    common_flags += ["-fno-strict-aliasing"]
Note: See TracChangeset for help on using the changeset viewer.