File tree Expand file tree Collapse file tree 2 files changed +1
-22
lines changed Expand file tree Collapse file tree 2 files changed +1
-22
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ GTK3_LIBRARIES = -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-
1010CXXFLAGS += -O2 -g -fpermissive -Wno-deprecated-declarations $(GTK3 _INCLUDE) $(P4 PLUGIN_INCLUDE)
1111LDFLAGS += -g
1212LIBRARIES = -lstdc++ -lrt $(GTK3 _LIBRARIES)
13+ PLATFORM = linux64
1314
1415COMMON_MODULES = $(COMMON_SRCS:.c=.o)
1516COMMON_MODULES := $(COMMON_MODULES:.cpp=.o)
Original file line number Diff line number Diff line change 7878 TestWin32();
7979 }
8080}
81- elsif ($target eq " linux32" )
82- {
83- unless ($test )
84- {
85- BuildLinux ($target );
86- }
87- else
88- {
89- TestLinux ($target );
90- }
91- }
9281elsif ($target eq " linux64" )
9382{
9483 unless ($test )
@@ -172,22 +161,11 @@ sub TestWin32
172161
173162sub BuildLinux ($)
174163{
175- my $platform = shift ;
176-
177164 my $cflags = ' -O3 -fPIC -fexceptions -fvisibility=hidden -DLINUX' ;
178165 my $cxxflags = " $cflags -Wno-ctor-dtor-private" ;
179- my $ldflags = ' ' ;
180-
181- if ($platform eq ' linux32' ) {
182- $cflags = " $cflags -m32" ;
183- $cxxflags = " $cxxflags -m32" ;
184- $ldflags = ' -m32' ;
185- }
186166
187167 $ENV {' CFLAGS' } = $cflags ;
188168 $ENV {' CXXFLAGS' } = $cxxflags ;
189- $ENV {' LDFLAGS' } = $ldflags ;
190- $ENV {' PLATFORM' } = $platform ;
191169
192170 system (' make' , ' -f' , ' Makefile.gnu' , ' clean' );
193171 system (' make' , ' -f' , ' Makefile.gnu' ) && die (" Failed to build $platform " );
You can’t perform that action at this time.
0 commit comments