]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
sim: Add SIM_EXTRA_CFLAGS after CSEARCH.
authorJohn Baldwin <jhb@FreeBSD.org>
Thu, 15 Apr 2021 23:03:15 +0000 (16:03 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Thu, 15 Apr 2021 23:04:55 +0000 (16:04 -0700)
commit10737236a0fd768ba207d23f451505c85a35d60e
tree1adf60771e51b7f58d733dbc20bdeb9e420f81cd
parentc45ecc9d169436937d06491aa2bf175113e2d502
sim: Add SIM_EXTRA_CFLAGS after CSEARCH.

The bfin sim adds include paths for the SDL libraries.  These include
paths might include headers for different version of binutils.  Move
SIM_EXTRA_CFLAGS after CSEARCH to ensure local includes are always
preferred to external includes.

sim/common/ChangeLog:

* Make-common.in (CONFIG_CFLAGS): Remove SIM_EXTRA_CFLAGS.
(ALL_CLAGS, COMMON_DEP_CFLAGS): Add SIM_EXTRA_CFLAGS after
CSEARCH.
sim/common/ChangeLog
sim/common/Make-common.in