Skip to content

Commit

Permalink
build: Fix build failure on RHEL 7
Browse files Browse the repository at this point in the history
Signed-off-by: Rongsong Shen <[email protected]>
  • Loading branch information
Rongsong Shen authored and namhyung committed Jan 23, 2024
1 parent 545b613 commit ad1dd38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion check-deps/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ endif
CFLAGS_cc_has_mfentry = -mfentry
LDFLAGS_cxa_demangle = -lstdc++
LDFLAGS_have_libelf = -lelf
CFLAGS_cc_has_mno_sse2 = -mno-sse -mno-sse2
CFLAGS_cc_has_mno_sse2 = -O2 -mno-sse -mno-sse2
LDFLAGS_have_libpython2.7 = -lpython2.7
CFLAGS_have_libpython3 = $(shell pkg-config python3$(EMBED) --cflags 2> /dev/null)
LDFLAGS_have_libpython3 = $(shell pkg-config python3$(EMBED) --libs 2> /dev/null)
Expand Down
2 changes: 2 additions & 0 deletions check-deps/__cc_has_mno_sse2.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#include <stdlib.h>

int main(void)
{
return 0;
Expand Down

0 comments on commit ad1dd38

Please sign in to comment.