/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Teddy Hogeborn
  • Date: 2024-09-11 22:44:07 UTC
  • Revision ID: teddy@recompile.se-20240911224407-vv54nya8wo9eedxx
Hide warnings if --no-warn-execstack is not supported

* Makefile: When testing if "-Xlinker --no-warn-execstack" can be
  used by the C compiler, hide any error output.

Show diffs side-by-side

added added

removed removed

Lines of Context:
290
290
                $@)
291
291
 
292
292
# Does the linker support the --no-warn-execstack option?
293
 
ifeq ($(shell echo 'int main(){}'|$(CC) --language=c /dev/stdin -o /dev/null -Xlinker --no-warn-execstack && echo yes),yes)
 
293
ifeq ($(shell echo 'int main(){}'|$(CC) --language=c /dev/stdin -o /dev/null -Xlinker --no-warn-execstack >/dev/null 2>&1 && echo yes),yes)
294
294
# These programs use nested functions, which uses an executable stack
295
295
plugin-runner: LDFLAGS += -Xlinker --no-warn-execstack
296
296
dracut-module/password-agent: LDFLAGS += -Xlinker --no-warn-execstack