Skip to content

Commit 2dc77d3

Browse files
committed
wat
1 parent 8d42d94 commit 2dc77d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
SRCS=virgo.c
33
OBJS=$(SRCS:.c=.o)
4-
CFLAGS=-O2 -nostdlib -Wall -fno-asynchronous-unwind-tables -fno-ident -ffunction-sections -fdata-sections -DRELEASE=1
4+
CFLAGS=-O3 -nostdlib -Wall -fno-asynchronous-unwind-tables -fno-ident -ffunction-sections -fdata-sections -DRELEASE=1
55
LIBS=-lgdi32 -luser32 -lshell32 -lmsvcrt -lkernel32
66
LDFLAGS=-static -nostdlib -fno-builtin -s -Wl,-e,__main,--gc-sections,-subsystem,windows $(LIBS)
77
ARCH=32

virgo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ int __main(void)
279279
int main(int argc, char **argv)
280280
#endif
281281
{
282-
Virgo v;
282+
static Virgo v;
283283
MSG msg;
284284
virgo_init(&v);
285285
while(GetMessage(&msg, NULL, 0, 0)) {

0 commit comments

Comments
 (0)