Skip to content

Commit

Permalink
Compiler fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bazz1tv committed Jul 25, 2020
1 parent 76529fa commit b2af9ae
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions pc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,16 @@ SHARED_DIR = shared/
PROJ_DIR = ext
#

CC ?= $(CROSS_COMPILE)g++
CPP ?= $(CROSS_COMPILE)g++
# Only Set compilers if they are unset (default). This lets you set them from the environment manually.
ifeq ($(origin CC),default)
CC = $(CROSS_COMPILE)g++
endif
ifeq ($(origin CPP),default)
CPP = $(CROSS_COMPILE)g++
endif
# OBJCC is not a Make default variable so use this syntax instead
OBJCC ?= $(CROSS_COMPILE)g++

debug = -g
optimize = -O3

Expand Down
2 changes: 1 addition & 1 deletion submodules/libgme_m

0 comments on commit b2af9ae

Please sign in to comment.