12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- $OpenBSD: patch-Makefile_common,v 1.3 2017/05/31 08:10:01 espie Exp $
- Index: Makefile.common
- --- Makefile.common.orig
- +++ Makefile.common
- @@ -28,14 +28,6 @@ PKG_CONFIG=pkg-config
- DONT_PRINT = > /dev/null 2>&1
- DONT_FAIL = ; exit 0
-
- -# Override defaults that absolutely will not work.
- -ifeq ($(CC),cc)
- - override CC=gcc
- -endif
- -ifeq ($(AS),as)
- - override AS=nasm
- -endif
- -
- COBJC=$(CC) -x objective-c
- COBJCXX=$(CXX) -x objective-c++
- L_CC=$(CC)
- @@ -283,14 +275,9 @@ GUI_LIBS=
- LIBDIRS=
-
- ifeq (1,$(strip $(shell expr $(GCC_MAJOR) \>= 4)))
- - F_NO_STACK_PROTECTOR := -fno-stack-protector
- - # there are some link-time issues with stack protectors, so make it possible to override
- - F_STACK_PROTECTOR_ALL ?= -fstack-protector-all
- ifeq (0,$(CLANG))
- F_JUMP_TABLES := -fjump-tables
- endif
- - M_TUNE_GENERIC := -mtune=generic
- - M_STACKREALIGN := -mstackrealign
- endif
-
- W_STRICT_OVERFLOW := -Wno-strict-overflow
- @@ -663,10 +650,6 @@ DLLSUFFIX=.so
-
- SDL_TARGET ?= 2
- SDL_FRAMEWORK ?= 0
- -
- -ifeq (1,$(strip $(shell expr $(GCC_MAJOR) \>= 4)))
- - L_SSP := -lssp
- -endif
-
- # ifeq (1,$(strip $(shell expr $(GCC_MAJOR) \>= 5)))
- # ifneq (0,$(LTO))
|