Skip to content

Commit

Permalink
Fix some issues with the MinGW build.
Browse files Browse the repository at this point in the history
Fixes #58.
  • Loading branch information
Quuxplusone committed Sep 6, 2018
1 parent 2d5d5a1 commit 8ebdede
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile.am
Expand Up @@ -34,6 +34,7 @@ endif MAC

if MINGW
nodist_hyperrogue_SOURCES = hyper.res
hyperrogue_CPPFLAGS += -march=native -DWINDOWS
windres_prefix = ${host_cpu}-w64-mingw32-
endif MINGW

Expand Down
1 change: 1 addition & 0 deletions Makefile.simple
Expand Up @@ -94,6 +94,7 @@ endif
ifeq (${TOOLCHAIN},mingw)
CXXFLAGS_EARLY += -std=c++11 -march=native
CXXFLAGS_EARLY += -W -Wall -Wextra -Werror
CXXFLAGS_EARLY += -Wno-unused-parameter
endif


Expand Down
2 changes: 1 addition & 1 deletion pattern2.cpp
Expand Up @@ -1525,7 +1525,7 @@ namespace patterns {
#if CAP_TEXTURE
#define REMAP_TEXTURE texture::config.remap()
#else
#define REMAP_TEXTURE
#define REMAP_TEXTURE (void)0
#endif

void showPattern() {
Expand Down

0 comments on commit 8ebdede

Please sign in to comment.