Add -Wl,-z,defs to GCCOPTS
commit12b89c11e31cab842af081e8fc238e47c2711653
authorRafaël Carré <rafael.carre@gmail.com>
Sat, 3 Jul 2010 18:37:14 +0000 (3 18:37 +0000)
committerRafaël Carré <rafael.carre@gmail.com>
Sat, 3 Jul 2010 18:37:14 +0000 (3 18:37 +0000)
tree279ac52a8807bf9792c67d6946dcd9f25c060e18
parenta89fea6754de7d5c4fe0d15d8343102864a5977a
Add -Wl,-z,defs to GCCOPTS

Running the linker with -z defs will error out if a shared library (such as a simulator codec/plugin) uses an undefined symbol

Replace a bunch of sed s,XX,YY, by s<XX<YY< because GCCOPTS will contain the ","
I chosed "<" because it's a weird character to be found in a PATH/option, but any character which wouldn't be present in XX or YY would do

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27256 a1c6a512-1295-4272-9138-f99709370657
tools/configure