-
Notifications
You must be signed in to change notification settings - Fork 216
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
cmake failed on macos #165
Comments
The error appears at the Because at the end of the day, it's very likely nginx will run on GNU/Linux, so maybe another approach for you would be to use Docker instead of your native tooling, which, to be honest, is not great on Mac. Mac OS is a great operating system that allows you to open Safari and browse Apple.com to buy a newer mac. But IMHO it's not so great when you want to do things such as compiling a webserver encoding module in C. |
I try to use cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_FLAGS="-Ofast -m64 -march=native -mtune=native -flto -funroll-loops -ffunction-sections -fdata-sections -Wl,-export_dynamic" -DCMAKE_CXX_FLAGS="-Ofast -m64 -march=native -mtune=native -flto -funroll-loops -ffunction-sections -fdata-sections -Wl,-export_dynamic" -DCMAKE_INSTALL_PREFIX=./installed .. But it appears when executing the following command: ./configure --add-module=/Users/waterbang/Desktop/waterbang/github/ngx_brotli/
I think this error can be ignored, because compiling on mac has little meaning and is mainly for the server. |
run:
error:
The text was updated successfully, but these errors were encountered: