Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Newmxemf #10

Closed
Closed

Conversation

StoddardOXC
Copy link

rework MXE makefile to produce debug symbols, enable LTO by default

@MeridianOXC
Copy link
Owner

Should I replace YAML_SRC with YAML_DIR in comments and examples too?

#
# You can also set BIN=whatever.exe to rename the .exe
# make -f Makefile.mxe ARCH=x86_64-w64-mingw32.static YAML_SRC=/whatever/yaml-cpp/
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

YAML_DIR ?

# if MXE_YAML is set, use the mxe-supplied one
ifeq ($(strip $(MXE_YAML)),)
SRCS += $(wildcard $(YAML_SRC)*.cpp $(YAML_SRC)*/*.cpp)
# if YAML_SRC is set, use the supplied yaml-cpp, else MXE yaml-cpp
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

YAML_DIR ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, duh

let me resubmit this

@MeridianOXC
Copy link
Owner

Cherry-picked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants