Browse Source

Remove error message from crash handler. Remove static linking of libgcc

and libstdc++ from Linux.
tags/v1.0.0
Andrew Belt 5 years ago
parent
commit
3e860ca948
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      Makefile
  2. +1
    -1
      src/main.cpp

+ 1
- 1
Makefile View File

@@ -19,7 +19,7 @@ SOURCES += $(wildcard src/*.cpp src/*/*.cpp)
ifdef ARCH_LIN
SOURCES += dep/osdialog/osdialog_gtk2.c
CFLAGS += $(shell pkg-config --cflags gtk+-2.0)
LDFLAGS += -rdynamic -static-libgcc -static-libstdc++ \
LDFLAGS += -rdynamic \
dep/lib/libglfw3.a dep/lib/libGLEW.a dep/lib/libjansson.a dep/lib/libspeexdsp.a dep/lib/libzip.a dep/lib/libz.a dep/lib/librtmidi.a dep/lib/librtaudio.a dep/lib/libcurl.a dep/lib/libssl.a dep/lib/libcrypto.a \
-lpthread -lGL -ldl -lX11 -lasound -ljack \
$(shell pkg-config --libs gtk+-2.0)


+ 1
- 1
src/main.cpp View File

@@ -38,7 +38,7 @@ static void fatalSignalHandler(int sig) {

FATAL("Fatal signal %d. Stack trace:\n%s", sig, system::getStackTrace().c_str());

osdialog_message(OSDIALOG_ERROR, OSDIALOG_OK, "Rack has crashed. See log.txt for details.");
// osdialog_message(OSDIALOG_ERROR, OSDIALOG_OK, "Rack has crashed. See log.txt for details.");

exit(1);
}


Loading…
Cancel
Save