Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use SSE flags only on x86 #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

taylordotfish
Copy link

Perform an architecture check before adding x86-specific compiler flags.

@@ -7,8 +7,10 @@ CFLAGS += -O3 -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce
LDFLAGS += -shared -Wl,-O1 -Wl,--as-needed -Wl,--no-undefined -Wl,--strip-all -lm -lrt

ifneq ($(NOOPT),true)
ifneq ($(findstring $(shell uname -m),x86_64 amd64 i386 i686),)
Copy link
Author

Choose a reason for hiding this comment

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

Note that this will also match if uname -m is just x86.

@taylordotfish taylordotfish deleted the branch mod-audio:master September 26, 2024 14:35
@taylordotfish taylordotfish deleted the master branch September 26, 2024 14:35
@taylordotfish taylordotfish restored the master branch September 26, 2024 14:35
@taylordotfish
Copy link
Author

Accidental commit got added to this PR. Fixed now.

@taylordotfish taylordotfish reopened this Sep 26, 2024
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.

1 participant