From 7e73e9e28577e253cf1428f2e95705bee173735ba1426ad89f2b7ca218d00a2a Mon Sep 17 00:00:00 2001 From: Marcus Rueckert Date: Fri, 26 Nov 2010 15:55:36 +0000 Subject: [PATCH] Accepting request 53922 from devel:tools:compiler Accepted submit request 53922 from user elvigia OBS-URL: https://build.opensuse.org/request/show/53922 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/re2c?expand=0&rev=13 --- re2c.changes | 7 +++++++ re2c.spec | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/re2c.changes b/re2c.changes index 1f54d49..cd14a13 100644 --- a/re2c.changes +++ b/re2c.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Nov 23 12:52:50 UTC 2010 - cristian.rodriguez@opensuse.org + +- Use smp_flags +- when rebuilding the scanner use -g, to generate GCC specific + code that is slightly faster. + ------------------------------------------------------------------- Thu Jun 26 18:36:53 CEST 2008 - mmarek@suse.cz diff --git a/re2c.spec b/re2c.spec index 2b1d900..371fd8d 100644 --- a/re2c.spec +++ b/re2c.spec @@ -50,12 +50,12 @@ find CHANGELOG lessons examples -type f -print0 \ %build %configure -%{__make} re2c +%{__make} %{?_smp_mflags} re2c #regenerate file scanner.cc %{__rm} -f scanner.cc -./re2c scanner.re > scanner.cc +./re2c -g scanner.re > scanner.cc %{__rm} -f re2c scanner.o -%{__make} +%{__make} %{?_smp_mflags} %check %{__make} test