To protect your data, the CISO officer has suggested users to enable GitLab 2FA as soon as possible.

Commit b5582726 authored by Isaac's avatar Isaac
Browse files

fix macos build problems?

parent bef2bc20
Pipeline #4636 failed with stage
in 1 second
......@@ -13,10 +13,10 @@
# limitations under the License.
all:
$(CXX) -O3 -std=gnu++14 -Wall -I$(ANTLR_HOME)/usr/local/include/antlr4-runtime/ -L$(ANTLR_HOME)/usr/local/lib/ -L$(MU_ZEBU)/target/$(ZEBU_BUILD)/deps -lantlr4-runtime -lmu -lgmpxx -lgmp -o main.cpp parser/*.cpp -o muc
$(CXX) -O3 -std=gnu++14 -Wall -I$(ANTLR_HOME)/usr/local/include/antlr4-runtime/ -L/usr/local/lib -I/usr/local/include -L$(ANTLR_HOME)/usr/local/lib/ -L$(MU_ZEBU)/target/$(ZEBU_BUILD)/deps -lantlr4-runtime -lmu -lgmpxx -lgmp -o main.cpp parser/*.cpp -o muc
static:
$(CXX) -O3 -std=gnu++14 -Wall -I$(ANTLR_HOME)/usr/local/include/antlr4-runtime/ $(ANTLR_HOME)/usr/local/lib/libantlr4-runtime.a $(MU_ZEBU)/target/$(ZEBU_BUILD)/deps/libmu.a -lpthread -lm -ldl -lgmpxx -lgmp main.cpp parser/*.cpp -o muc
$(CXX) -O3 -std=gnu++14 -Wall -I$(ANTLR_HOME)/usr/local/include/antlr4-runtime/ -L/usr/local/lib -I/usr/local/include $(ANTLR_HOME)/usr/local/lib/libantlr4-runtime.a $(MU_ZEBU)/target/$(ZEBU_BUILD)/deps/libmu.a -lpthread -lm -ldl -lgmpxx -lgmp main.cpp parser/*.cpp -o muc
no_mu:
$(CXX) -O3 -std=gnu++14 -DNO_MU -Wall -I$(ANTLR_HOME)/usr/local/include/antlr4-runtime/ -L$(ANTLR_HOME)/usr/local/lib/ -lantlr4-runtime -lgmpxx -lgmp main.cpp parser/*.cpp -o muc
$(CXX) -O3 -std=gnu++14 -DNO_MU -Wall -I$(ANTLR_HOME)/usr/local/include/antlr4-runtime/ -L/usr/local/lib -I/usr/local/include -L$(ANTLR_HOME)/usr/local/lib/ -lantlr4-runtime -lgmpxx -lgmp main.cpp parser/*.cpp -o muc
......@@ -78,7 +78,7 @@ int show_usage() {
return -1;
}
int main(int argc, char* argv[]) {
int main(int argc, char** argv) {
if (argc < 4)
return show_usage();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment