Skip to content

[build][asm] Pass ASFLAGS to the assembler instead of CFLAGS#3009

Merged
terrelln merged 1 commit intofacebook:devfrom
terrelln:asm-flags
Jan 18, 2022
Merged

[build][asm] Pass ASFLAGS to the assembler instead of CFLAGS#3009
terrelln merged 1 commit intofacebook:devfrom
terrelln:asm-flags

Conversation

@terrelln
Copy link
Contributor

@terrelln terrelln commented Jan 18, 2022

  • Add -Wa,--noexecstack to both ASFLAGS and CFLAGS
  • Pass ASFLAGS to .S compilation instead of CFLAGS

Based on the patch suggested by @noloader on Issue #3006.

Fixes #3006.

* Add `-Wa,--noexecstack` to both `ASFLAGS` and `CFLAGS`
* Pass `ASFLAGS` to `.S` compilation instead of `CFLAGS`

Fixes facebook#3006.
@terrelln terrelln merged commit ef1eafd into facebook:dev Jan 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Making huf_decompress_amd64.S does not use ASFLAGS like it should

3 participants