Move UNIX-specific flags to the unix profile

bzip2
Graham 5 years ago
parent c9d29a71d8
commit 5e7a4d70cd
  1. 10
      gl-natives/pom.xml
  2. 19
      pom.xml

@ -13,6 +13,14 @@
<name>OpenRS2 GL Natives</name>
<profiles>
<profile>
<id>unix</id>
<activation>
<os>
<family>unix</family>
</os>
</activation>
<build>
<plugins>
<plugin>
@ -39,4 +47,6 @@
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

@ -186,21 +186,10 @@
</libraries>
<c>
<optimize>full</optimize>
<options>
<option>-Wall</option>
<option>-Wextra</option>
<option>-pedantic</option>
<option>-Wno-unused-parameter</option>
</options>
</c>
<java>
<include>true</include>
</java>
<linker>
<options>
<option>-L${java.home}/lib</option>
</options>
</linker>
</configuration>
</plugin>
<plugin>
@ -302,6 +291,14 @@
<groupId>com.github.maven-nar</groupId>
<artifactId>nar-maven-plugin</artifactId>
<configuration>
<c>
<options>
<option>-Wall</option>
<option>-Wextra</option>
<option>-pedantic</option>
<option>-Wno-unused-parameter</option>
</options>
</c>
<linker>
<options>
<option>-L${java.home}/lib</option>

Loading…
Cancel
Save