Skip to content

build: Fix AVX2 flags being unconditionally enabled when the compiler isn't building for AVX2#3881

Open
amyspark wants to merge 1 commit intocisco:masterfrom
amyspark:fix-avx2-unconditional
Open

build: Fix AVX2 flags being unconditionally enabled when the compiler isn't building for AVX2#3881
amyspark wants to merge 1 commit intocisco:masterfrom
amyspark:fix-avx2-unconditional

Conversation

@amyspark
Copy link
Copy Markdown

This fixes AVX2 being unconditionally introduced when the compiler isn't set to build for an AVX2 target (e.g. through -mavx2, /arch:AVX2, -mcpu=haswell etc.)

cc @nirbheek (I had this patch committed with the textrel fix, but never submitted it upstream.)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants