Created
December 1, 2021 02:10
-
-
Save nemolize/fff898fe2ef32f08a8abfccde39005c6 to your computer and use it in GitHub Desktop.
Workaround if PHP 7.4.7 installation with phpenv fails with "error: ‘TRUE’ undeclared (first use in this function)"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ref: https://zenn.dev/kumamidori/articles/b6f79df64753bb | |
export CFLAGS="-Wno-error=implicit-function-declaration -DU_DEFINE_FALSE_AND_TRUE=1" | |
export CXXFLAGS="-Wno-error=implicit-function-declaration -DU_DEFINE_FALSE_AND_TRUE=1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment