Move UNIX-specific flags to the unix profile

master
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> <name>OpenRS2 GL Natives</name>
<profiles>
<profile>
<id>unix</id>
<activation>
<os>
<family>unix</family>
</os>
</activation>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
@ -39,4 +47,6 @@
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
</profile>
</profiles>
</project> </project>

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

Loading…
Cancel
Save