Summary: fix to fix, do not treat compiler flags as linker flags
authorSebastian Freundt <hroptatyr@fresse.org>
Mon, 2 Jan 2012 23:11:06 +0000 (23:11 +0000)
committerSebastian Freundt <hroptatyr@fresse.org>
Mon, 2 Jan 2012 23:11:06 +0000 (23:11 +0000)
commit643a0211c43cdd3691abdcda048fbb686024fa25
tree344b5e954459156ae9e58d1f41a25cb7b64ec462
parenta83d30019ae267ba58e50f342906766f5a2c6cc8
Summary: fix to fix, do not treat compiler flags as linker flags
Keywords: bldchn

This changeset reverts some checks for falsely dubbed linker flags which
are in fact compiler flags, namely -static-intel and -static-libgcc.

Because these flags need to be checked against the fully expanded
CFLAGS, the CFLAGS are generated beforehand and the checks themselves go
to FEATFLAGS.

* m4/sxe-linker.m4: fix, remove checks for -static-intel and
  -static-libgcc

* m4/sxe-compiler.m4: check for -static-intel and -static-libgcc in the
  context of FEATFLAGS

Signed-off-by: Sebastian Freundt <hroptatyr@fresse.org>
m4/sxe-compiler.m4
m4/sxe-linker.m4