Skip to content

Commit fb4a889

Browse files
Dorinda Basseymikesart
Dorinda Bassey
authored andcommitted
Update Architecture support
Add Support for building on ppc64le Arch This tool is being packaged as an RPM package for easy installation on Linux distros RPM packages requires standard compiler flags Signed-off-by: Dorinda Bassey <[email protected]>
1 parent ac7dab9 commit fb4a889

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ endif
5454
# Investigate: Improving C++ Builds with Split DWARF
5555
# http://www.productive-cpp.com/improving-cpp-builds-with-split-dwarf/
5656

57-
CFLAGS = $(WARNINGS) -march=native -fno-exceptions -gdwarf-4 -g2 -ggnu-pubnames -gsplit-dwarf $(SDL2FLAGS) $(GTK3FLAGS) $(I915_PERF_CFLAGS) -I/usr/include/freetype2
57+
CFLAGS = $(WARNINGS) -mcpu=native -mtune=native -fno-exceptions -gdwarf-4 -g2 -ggnu-pubnames -gsplit-dwarf $(SDL2FLAGS) $(GTK3FLAGS) $(I915_PERF_CFLAGS) -I/usr/include/freetype2
5858
CFLAGS += -DUSE_FREETYPE -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64
5959
CXXFLAGS = -fno-rtti -Woverloaded-virtual
60-
LDFLAGS = -march=native -gdwarf-4 -g2 -Wl,--build-id=sha1
60+
LDFLAGS = -mcpu=native -mtune=native -gdwarf-4 -g2 -Wl,--build-id=sha1
6161
LIBS = -Wl,--no-as-needed -lm -ldl -lpthread -lfreetype -lstdc++ $(SDL2LIBS) $(I915_PERF_LIBS)
6262

6363
ifneq ("$(wildcard /usr/bin/ld.gold)","")

0 commit comments

Comments
 (0)