Commit b14a55af authored by Laszlo Domoszlai's avatar Laszlo Domoszlai
Browse files

increase stack size to 16Mb to avoid crash

parent 46f20bde
TARGET = main TARGET = main
LIBS = LIBS =
CC = g++ CC = g++
CFLAGS = -g -Wno-write-strings CFLAGS = -g -Wno-write-strings
.PHONY: default all clean .PHONY: default all clean
...@@ -17,7 +17,7 @@ HEADERS = $(wildcard *.h) ...@@ -17,7 +17,7 @@ HEADERS = $(wildcard *.h)
.PRECIOUS: $(TARGET) $(OBJECTS) .PRECIOUS: $(TARGET) $(OBJECTS)
$(TARGET): $(OBJECTS) $(TARGET): $(OBJECTS)
$(CC) $(OBJECTS) -static -static-libgcc -static-libstdc++ -g -Wall $(LIBS) -o $@ $(CC) $(OBJECTS) -static -static-libgcc -static-libstdc++ -Wl,--stack,16777216 -g -Wall $(LIBS) -o $@
clean: clean:
-rm -f *.o -rm -f *.o
......
Supports Markdown
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