Skip to content

Commit

Permalink
Remove -malign-double flag from compilation (was only there for CUDD).
Browse files Browse the repository at this point in the history
  • Loading branch information
davexparker committed Jan 11, 2024
1 parent 6dc62a9 commit b75e64c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions prism/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ ifeq ($(OSTYPE),linux)
BINDISTSUFFIX = linux64
BINDISTARCH = arm
else
CFLAGS = -m32 -malign-double $(DEBUG) $(OPTIMISE) $(WARNINGS)
CFLAGS = -m32 $(DEBUG) $(OPTIMISE) $(WARNINGS)
CXXFLAGS = --std=c++11 $(CFLAGS)
LDFLAGS = $(CFLAGS)
BINDISTSUFFIX = linux32
Expand Down Expand Up @@ -275,14 +275,14 @@ endif
# Cygwin
ifeq ($(OSTYPE),cygwin)
ifeq ($(ARCH),x86_64)
CFLAGS = -malign-double $(DEBUG) $(OPTIMISE) $(WARNINGS) -static-libgcc -static-libstdc++
CFLAGS = $(DEBUG) $(OPTIMISE) $(WARNINGS) -static-libgcc -static-libstdc++
# need -DWIN32 for lpsolve (WIN32 is only defined by mingw/gcc without --std=c++11)
CXXFLAGS = --std=c++11 -DWIN32 $(CFLAGS)
LDFLAGS = $(CFLAGS) -Wl,--add-stdcall-alias -Wl,-Bstatic,--whole-archive -lpthread -Wl,-Bdynamic,--no-whole-archive
BINDISTSUFFIX = win64
BINDISTARCH = x86
else
CFLAGS = -march=i686 -malign-double $(DEBUG) $(OPTIMISE) $(WARNINGS) -static-libgcc -static-libstdc++
CFLAGS = -march=i686 $(DEBUG) $(OPTIMISE) $(WARNINGS) -static-libgcc -static-libstdc++
# need -DWIN32 for lpsolve (WIN32 is only defined by mingw/gcc without --std=c++11)
CXXFLAGS = --std=c++11 -DWIN32 $(CFLAGS)
LDFLAGS = $(CFLAGS) -Wl,--add-stdcall-alias -Wl,-Bstatic,--whole-archive -lpthread -Wl,-Bdynamic,--no-whole-archive
Expand Down

0 comments on commit b75e64c

Please sign in to comment.