git.y1.nz

gbdk-2020

GameBoy Development Kit
download: https://git.y1.nz/archives/gbdk.tar.gz
README | Files | Log | Refs | LICENSE

commit cef7bbed602c880eba4920711eb699e8222c7ba7
parent d74c664bbbfd73a00ce8c2702ccb3079397acfe9
Author: bbbbbr <bbbbbr@users.noreply.github.com>
Date:   Mon, 14 Nov 2022 18:55:41 -0800

Merge pull request #452 from bbbbbr/lcc/--sdccbindir_etc_fix

LCC: fix for --sdccbindir= broken in commit c1398c2afaa90af8d8c945f39c2c02be531b95f2
 (noted in #447)
Diffstat:
Mgbdk-support/lcc/lcc.c8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gbdk-support/lcc/lcc.c b/gbdk-support/lcc/lcc.c @@ -871,9 +871,13 @@ static void interrupt(int n) { static void opt(char *arg) { switch (arg[1]) { /* multi-character options */ case '-': // --* options - if (strcmp(arg, "--save-preproc") == 0) + if (strcmp(arg, "--save-preproc") == 0) { Eflag_preproc_to_file = true; - return; + return; + } + // If no match for "--*" options here then break instead of + // return in case they need to get processed in option() below + break; case 'W': /* -Wxarg */ if (arg[2] && arg[3]) switch (arg[2]) {

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.