Skip to content

Fix C11 detection in the makefile#7822

Merged
oranagra merged 1 commit intoredis:unstablefrom
oranagra:fix_c11_detection
Sep 21, 2020
Merged

Fix C11 detection in the makefile#7822
oranagra merged 1 commit intoredis:unstablefrom
oranagra:fix_c11_detection

Conversation

@oranagra
Copy link
Member

@oranagra oranagra commented Sep 20, 2020

445a4b6 introudced a makefile script that detects if the toolchain
supports c11, and it looked that it was passing on MacOS and fails on
Ubuntu, looks like Ubuntu's Dash was spawning a background process,
deleted foo.c before gcc tried to compile it.

445a4b6 introudced a makefile script that detects if the toolchain
supports c11, and it looked that it was passing on MacOS and fails on
Ubuntu, looks like Ubuntu's Dash was spawning a background process,
deleted foo.c before gcc tried to compile it.
@oranagra oranagra requested a review from yossigo September 20, 2020 14:57
@ShooterIT
Copy link
Member

We use &> to redirect both stdout and stderr, but for Dash, it will spawn a background process when occur &, right?

@oranagra
Copy link
Member Author

yeah

@oranagra oranagra merged commit f11a0c8 into redis:unstable Sep 21, 2020
@oranagra oranagra deleted the fix_c11_detection branch September 21, 2020 08:17
JackieXie168 pushed a commit to JackieXie168/redis that referenced this pull request Nov 4, 2020
445a4b6 introudced a makefile script that detects if the toolchain
supports c11, and it looked that it was passing on MacOS and fails on
Ubuntu, looks like Ubuntu's Dash was spawning a background process,
deleted foo.c before gcc tried to compile it.
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.

3 participants