From d3cc1df01abda1cb29f6f46f6aa174748300a993 Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> Date: Sun, 1 Apr 2018 21:05:02 +1000 Subject: [PATCH] Disable -O3 optimization --- Makefile.Translator | 2 +- Src/DjVuTranslator.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.Translator b/Makefile.Translator index 1d78cfb..4873e56 100644 --- a/Makefile.Translator +++ b/Makefile.Translator @@ -14,7 +14,7 @@ CC := g++ LD := $(CC) LIBS := -lbe -ltranslation -ltracker -ldjvulibre -CFLAGS := -O3 -I./Includes +CFLAGS := -O0 -I./Includes LDFLAGS := .PHONY : clean Build diff --git a/Src/DjVuTranslator.cpp b/Src/DjVuTranslator.cpp index 009d9a0..0141033 100644 --- a/Src/DjVuTranslator.cpp +++ b/Src/DjVuTranslator.cpp @@ -132,7 +132,7 @@ TranslatorView::TranslatorView(BRect rect, const char *name) : r.bottom = r.top + fh.ascent + fh.descent; r.right = r.left + Bounds().right; - BStringView *libre = new BStringView(r, "BasedOn", "Based on djvulibre 3.5.25 library"); + BStringView *libre = new BStringView(r, "BasedOn", "Based on djvulibre library"); libre->SetFont(be_plain_font); AddChild(libre); }