Skip to content

Fixed m4/cf3_gcc_flags.m4 to actually test compiler flags - #6252

Open
craigcomstock wants to merge 3 commits into
cfengine:masterfrom
craigcomstock:ent-14382/master
Open

Fixed m4/cf3_gcc_flags.m4 to actually test compiler flags#6252
craigcomstock wants to merge 3 commits into
cfengine:masterfrom
craigcomstock:ent-14382/master

Conversation

@craigcomstock

@craigcomstock craigcomstock commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

@craigcomstock
craigcomstock marked this pull request as ready for review July 29, 2026 20:29

@larsewi larsewi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you save_CFLAGS="$CFLAGS" conditionally (inside the if block), and restore it unconditionally (outside the if block). Meaning you will remove all the flags unless test x"$GCC" = "xyes" && test x"$HP_UX_AC" != x"yes".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants