From 557ad9da1af1c777f83455a4f86d9703fa297562 Mon Sep 17 00:00:00 2001 From: Dale Weiler Date: Sat, 27 Jul 2013 17:56:46 +0000 Subject: [PATCH] Make COMPILER_QCC default to please the stuborn Quake community. --- distro/fedora/INSTALL | 5 +++-- main.c | 2 +- tests/rassign.tmpl | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/distro/fedora/INSTALL b/distro/fedora/INSTALL index b9f374c..c86a8a3 100644 --- a/distro/fedora/INSTALL +++ b/distro/fedora/INSTALL @@ -5,6 +5,7 @@ the following commands. # yum groupinstall "Development Tools" # yum install rpmdevtools +# yum install mock # rpmdev-setuptree Now, depending on the version of GMQCC you want, there are a serise of @@ -13,5 +14,5 @@ issue the following to build the RPM. # rpmbuild -bs gmqcc-[[version]].spec -This will create an RPM file in the working directory, which you can -install with the rpm command line tool or mock. +This will create a src.rpm file in the working directory, which needs +to be moved diff --git a/main.c b/main.c index d12e4c3..e8a41b7 100644 --- a/main.c +++ b/main.c @@ -562,7 +562,7 @@ int main(int argc, char **argv) { app_name = argv[0]; con_init (); - opts_init("progs.dat", COMPILER_GMQCC, (1024 << 3)); + opts_init("progs.dat", COMPILER_QCC, (1024 << 3)); util_seed(time(0)); diff --git a/tests/rassign.tmpl b/tests/rassign.tmpl index 948cb54..7967620 100644 --- a/tests/rassign.tmpl +++ b/tests/rassign.tmpl @@ -1,7 +1,7 @@ I: rassign.qc D: test return assignments T: -execute -C: -fftepp -freturn-assignments +C: -std=gmqcc -fftepp -freturn-assignments M: 200 M: '200 200 200' M: world -- 2.39.2