Skip to content

Fix build for newer gcc versions - #70

Open
jrb0001 wants to merge 3 commits into
BlindMindStudios:masterfrom
jrb0001:build-fix
Open

Fix build for newer gcc versions#70
jrb0001 wants to merge 3 commits into
BlindMindStudios:masterfrom
jrb0001:build-fix

Conversation

@jrb0001

@jrb0001 jrb0001 commented Nov 1, 2018

Copy link
Copy Markdown

In addition to fixing the build for newer gcc versions, this also makes StarRuler2.sh executable and adds some generated files to .gitignore.

There is a commit for each change so if you do not want everything, feel free to cherry-pick what you want or ask me to drop everything you don't want.

Closes #69

@DaloLorn

DaloLorn commented Nov 2, 2018

Copy link
Copy Markdown
Contributor

waves at the familiar name

@Quix0r Quix0r left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

So far so good, but maybe investigate the MasterServer creation?

Comment thread source/linux/Makefile
$(BINDIR)/$(BIN): makelibs $(OBJ_FILES) $(LIB_FILES) $(COPY_LIBS)
@mkdir -p $(BINDIR)
@$(CC) $(CXXFLAGS) $(LDFLAGS) $(OBJ_FILES) $(LIB_FILES) -o $@
@$(CC) $(CXXFLAGS) $(OBJ_FILES) $(LIB_FILES) $(LDFLAGS) -o $@

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This was mentioned here: #9

Comment thread source/linux/Makefile

patcher: $(LIB_FILES)
@$(CC) $(CXXFLAGS) $(LDFLAGS) source/patcher/patcher/patcher.cpp $(LIB_FILES) -o $(BINDIR)/Patcher.bin
@$(CC) $(CXXFLAGS) source/patcher/patcher/patcher.cpp $(LIB_FILES) $(LDFLAGS) -o $(BINDIR)/Patcher.bin

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Good catch!

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Also the ordering for MasterServer needs this fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to build the project on unbuntu 18.04

3 participants