Merge pull request #233 from tokumeiwokiboushimasu/master

SDL fixes
This commit is contained in:
ekeeke 2018-07-07 15:23:29 +02:00 committed by GitHub
commit 14cce99d5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 3 deletions

View File

@ -28,7 +28,7 @@
NAME = gen_sdl NAME = gen_sdl
CC = gcc CC = gcc
CFLAGS = `sdl-config --cflags` -march=i686 -O6 -fomit-frame-pointer -Wall -Wno-strict-aliasing -ansi -std=c99 -pedantic-errors CFLAGS = `sdl-config --cflags` -march=native -O6 -fomit-frame-pointer -Wall -Wno-strict-aliasing -ansi -std=c99 -pedantic-errors
#-g -ggdb -pg #-g -ggdb -pg
#-fomit-frame-pointer #-fomit-frame-pointer
#LDFLAGS = -pg #LDFLAGS = -pg

View File

@ -28,7 +28,7 @@
NAME = gen_sdl2 NAME = gen_sdl2
CC = gcc CC = gcc
CFLAGS = `sdl2-config --cflags` -march=i686 -O6 -fomit-frame-pointer -Wall -Wno-strict-aliasing -ansi -std=c99 -pedantic-errors CFLAGS = `sdl2-config --cflags` -march=native -O6 -fomit-frame-pointer -Wall -Wno-strict-aliasing -ansi -std=c99 -pedantic-errors
#-g -ggdb -pg #-g -ggdb -pg
#-fomit-frame-pointer #-fomit-frame-pointer
#LDFLAGS = -pg #LDFLAGS = -pg

View File

@ -7,7 +7,6 @@
#include <stdarg.h> #include <stdarg.h>
#include <time.h> #include <time.h>
#include <SDL.h>
#include <stdlib.h> #include <stdlib.h>
#include "main.h" #include "main.h"