|
45 | 45 | ./configure --with-pic --disable-udev --enable-static --disable-shared --host=i686-w64-mingw32 &&
|
46 | 46 | make -j"$(nproc)" &&
|
47 | 47 | make install &&
|
| 48 | + make distclean && |
48 | 49 | cd .. &&
|
49 | 50 | BUILD_COMMAND: "go build -o {{.DIST_DIR}}/{{.PLATFORM_DIR}}/{{.PROJECT_NAME}}.exe {{.LDFLAGS}}"
|
50 | 51 | BUILD_PLATFORM: "windows/386"
|
|
75 | 76 | ./configure --with-pic --disable-udev --enable-static --disable-shared --host=x86_64-w64-mingw32 &&
|
76 | 77 | make -j"$(nproc)" &&
|
77 | 78 | make install &&
|
| 79 | + make distclean && |
78 | 80 | cd .. &&
|
79 | 81 | BUILD_COMMAND: "go build -o {{.DIST_DIR}}/{{.PLATFORM_DIR}}/{{.PROJECT_NAME}}.exe {{.LDFLAGS}}"
|
80 | 82 | BUILD_PLATFORM: "windows/amd64"
|
@@ -105,6 +107,7 @@ tasks:
|
105 | 107 | CFLAGS=-m32 CXXFLAGS=-m32 ./configure --with-pic --disable-udev --enable-static --disable-shared --host=i386-linux-gnu &&
|
106 | 108 | make -j"$(nproc)" &&
|
107 | 109 | make install &&
|
| 110 | + make distclean && |
108 | 111 | cd .. &&
|
109 | 112 | BUILD_COMMAND: "go build -o {{.DIST_DIR}}/{{.PLATFORM_DIR}}/{{.PROJECT_NAME}} {{.LDFLAGS}}"
|
110 | 113 | BUILD_PLATFORM: "linux/386"
|
@@ -135,6 +138,7 @@ tasks:
|
135 | 138 | ./configure --with-pic --disable-udev --enable-static --disable-shared &&
|
136 | 139 | make -j"$(nproc)" &&
|
137 | 140 | make install &&
|
| 141 | + make distclean && |
138 | 142 | cd .. &&
|
139 | 143 | BUILD_COMMAND: "go build -o {{.DIST_DIR}}/{{.PLATFORM_DIR}}/{{.PROJECT_NAME}} {{.LDFLAGS}}"
|
140 | 144 | BUILD_PLATFORM: "linux/amd64"
|
@@ -165,6 +169,7 @@ tasks:
|
165 | 169 | ./configure --with-pic --disable-udev --enable-static --disable-shared --host=arm-linux-gnueabihf &&
|
166 | 170 | make -j"$(nproc)" &&
|
167 | 171 | make install &&
|
| 172 | + make distclean && |
168 | 173 | cd .. &&
|
169 | 174 | BUILD_COMMAND: "go build -o {{.DIST_DIR}}/{{.PLATFORM_DIR}}/{{.PROJECT_NAME}} {{.LDFLAGS}}"
|
170 | 175 | BUILD_PLATFORM: "linux/armv7"
|
@@ -195,6 +200,7 @@ tasks:
|
195 | 200 | ./configure --with-pic --disable-udev --enable-static --disable-shared --host=arm-linux-gnueabi &&
|
196 | 201 | make -j"$(nproc)" &&
|
197 | 202 | make install &&
|
| 203 | + make distclean && |
198 | 204 | cd .. &&
|
199 | 205 | BUILD_COMMAND: "go build -o {{.DIST_DIR}}/{{.PLATFORM_DIR}}/{{.PROJECT_NAME}} {{.LDFLAGS}}"
|
200 | 206 | BUILD_PLATFORM: "linux/armv6"
|
@@ -225,6 +231,7 @@ tasks:
|
225 | 231 | ./configure --with-pic --disable-udev --enable-static --disable-shared --host=aarch64-linux-gnu &&
|
226 | 232 | make -j"$(nproc)" &&
|
227 | 233 | make install &&
|
| 234 | + make distclean && |
228 | 235 | cd .. &&
|
229 | 236 | BUILD_COMMAND: "go build -o {{.DIST_DIR}}/{{.PLATFORM_DIR}}/{{.PROJECT_NAME}} {{.LDFLAGS}}"
|
230 | 237 | BUILD_PLATFORM: "linux/arm64"
|
@@ -255,6 +262,7 @@ tasks:
|
255 | 262 | ./configure --with-pic --disable-udev --enable-static --disable-shared --host=x86_64-apple-darwin20.4 &&
|
256 | 263 | make -j"$(nproc)" &&
|
257 | 264 | make install &&
|
| 265 | + make distclean && |
258 | 266 | cd .. &&
|
259 | 267 | BUILD_COMMAND: "go build -o {{.DIST_DIR}}/{{.PLATFORM_DIR}}/{{.PROJECT_NAME}} {{.LDFLAGS}}"
|
260 | 268 | BUILD_PLATFORM: "darwin/amd64"
|
@@ -298,6 +306,7 @@ tasks:
|
298 | 306 | ./configure --with-pic --disable-udev --enable-static --disable-shared --host=aarch64-apple-darwin20.4 &&
|
299 | 307 | make -j"$(nproc)" &&
|
300 | 308 | make install &&
|
| 309 | + make distclean && |
301 | 310 | cd .. &&
|
302 | 311 | BUILD_COMMAND: "go build -o {{.DIST_DIR}}/{{.PLATFORM_DIR}}/{{.PROJECT_NAME}} {{.LDFLAGS}}"
|
303 | 312 | BUILD_PLATFORM: "darwin/arm64"
|
|
0 commit comments